Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 22, 2022. It is now read-only.

Remove aria-haspopup=dialog and add role=button #35

Merged
merged 2 commits into from
May 8, 2019
Merged

Remove aria-haspopup=dialog and add role=button #35

merged 2 commits into from
May 8, 2019

Conversation

muan
Copy link
Contributor

@muan muan commented May 7, 2019

Fixes #34.

  1. Remove aria-haspopup="dialog" from <summary> due to poor support creating negative user experience. For reference, here's an open issue on NVDA. We can revisit this down the line.

  2. Add role="button" to <summary>. A dialog's trigger element should be announced as a button.

muan added 2 commits May 7, 2019 12:40
- aria-haspopup=dialog
Using NVDA as an example: nvaccess/nvda#8235

- role=button
While the default summary role (disclosure triangle) could be
appropriate elsewhere, dialog's trigger element should be announced as
a button.
@muan muan requested a review from a team May 7, 2019 16:50
@muan muan merged commit 429f540 into master May 8, 2019
@muan muan deleted the aria branch May 8, 2019 13:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Quirks with dialog trigger "button"s
2 participants