Skip to content

Conversation

@CatalinB7
Copy link
Collaborator

@CatalinB7 CatalinB7 commented Mar 1, 2023

The button triggering the menu from the grid's filters was not announcing the current state collapsed / expanded.
Clicking with the mouse (cursor not visible tho, had to pay for that functionality lol):

20230307223554.mp4

Navigating using only the keyboard:

20230307223851.mp4

@CatalinB7 CatalinB7 changed the title 🚧 fix(grid): wip 🚧 fix(grid): make trigger menu button accessible Mar 2, 2023
@CatalinB7 CatalinB7 force-pushed the fix/aria-expanded branch 2 times, most recently from 175784c to 1fb374b Compare March 7, 2023 20:45
@CatalinB7 CatalinB7 changed the title 🚧 fix(grid): make trigger menu button accessible Fix(grid): make trigger menu button accessible Mar 7, 2023
@CatalinB7 CatalinB7 requested review from anbalase and robertandreimoldoveanu and removed request for robertandreimoldoveanu March 7, 2023 20:46
@CatalinB7 CatalinB7 added the a11y Accessibility label Mar 7, 2023
@CatalinB7 CatalinB7 force-pushed the fix/aria-expanded branch from bdca506 to 563f568 Compare March 7, 2023 20:57
Copy link
Collaborator

@anbalase anbalase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's add a FIXME for when we upgrade to 15@latest

@CatalinB7 CatalinB7 force-pushed the fix/aria-expanded branch from 563f568 to 680a95c Compare March 8, 2023 11:01
@CatalinB7 CatalinB7 force-pushed the fix/aria-expanded branch from 680a95c to 80f3612 Compare March 8, 2023 11:07
@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit 80f3612 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 91.8% (0.0% change).

View more on Code Climate.

@caleniuc
Copy link
Collaborator

caleniuc commented Mar 9, 2023

On mac's VoiceOver, the expanded is announced just once. Seems that if you announce the same thing on the LiveAnnouncer multiple times, it's announced to the screen reader just the first time. If you call announce with a different message, it works.

@CatalinB7 CatalinB7 merged commit a04667d into master Mar 9, 2023
@CatalinB7 CatalinB7 deleted the fix/aria-expanded branch March 9, 2023 16:50
gheorghitahurmuz pushed a commit that referenced this pull request Dec 12, 2023
Fix(grid): make trigger menu button accessible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a11y Accessibility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants