Add live region to announce number of tokens in GlTokenSelector
Description
I noticed our GlTokenSelector doesn't announce an updated count of items available when I type into the GlTokenSelector. I started working on a live region that would wait for approximately one second after I quit typing, then announce the number of results available. It was working well, but out of scope for MR 5174 so I stashed the code in a local branch and opened this issue to revisit it.
This live region could be used for all comboboxes (input + listbox) where users can filter the list by typing.
Checklist
Make sure the following are completed before closing the issue:
-
Assign the correct component label to this issue. -
Create an MR with the additions or updates needed. -
Be sure to get your MR reviewed by a FE/UX Foundations designer. -
When applicable, create an MR in Pajamas to update the demos. If you do not have capacity to complete the demos, create an issue in Pajamas and bring the issue to your team planning session for prioritization and scheduling. Mark the issue as related to this one. -
When applicable, create an MR in Pajamas to update the component status. -
When applicable, create an issue in Pajamas using the "Component Documentation" issue template to update guidelines. Ping a designer on your team for awareness and bring the issue to your team planning meeting for prioritization and scheduling. -
When applicable, create an issue in Pajamas using the "Figma update" issue template to update the Figma UI Kit. Ping a designer on your team for awareness and bring the issue to your team planning meeting for prioritization and scheduling. -
When introducing a major or breaking change, communicate the changes within the Engineering Week in Review. -
🎉 Congrats, you made it! You can now close this issue.