-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modal Dialog Pattern: Clarify initial focus and aria-describedby guidance #1707
Conversation
happy for further wordsmithing/tweaking ... thought i'd just take a stab at this to start to try and address #442 which unfortunately still bubbles up as a topic of discussion in audits |
- reworks/expands the initial focus section for modal dialogs to include the case of structured content dialogs (not necessarily covered by the "large enough to cause scrolling") - adds advice about `aria-describedby` and when it's best NOT to use it (for structure-heavy dialogs)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @patrickhlauke !
I do think that this clarifies, as well as adding the new point about structured content.
I like that "Generally, focus is initially set on the first focusable element." was moved outside of the list of examples, making it the default unless other conditions are met.
I just have a couple of suggestions: deleting some words, and using "
in code examples instead of <q>
(thanks for pointing that out 😄 ).
Co-authored-by: Carolyn MacLeod <[email protected]>
Co-authored-by: Carolyn MacLeod <[email protected]>
@carmacleod accepted your suggestions. thanks. |
as an aside ... I see lots of approved pull requests in this repo, but they're lingering without being merged. intentional? do you merge them all in one big go, or... |
@mcking65 does the final review and merging, and he's a busy guy. :) Looking at open PRs and filtering Reviews by "Approved review", I see that there are 15. Of the 8 that were created in December, most are either infrastructure or unit test related, so they could go in with one approving review. They're just stuck in the "Holiday Backlog". ;) Of the 7 earlier PRs, 1 is infrastructure (but touches 77 files and needs to be rebased again), and several are either new or completely refactored examples (which require a bunch of reviewing/testing and at least 3 approving reviews). I'll look into the remaining few to see if I can move them along. Of course, if you are offering to help review open PRs, that would be super awesome! 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Thanks @patrickhlauke !
@patrickhlauke wrote:
The number and type of needed approving reviews depends on what the PR is changing. If a PR adds or significantly changes an example, we require all the reviews listed in our PR review process. As appropriate, we remove various reviews from the process. We've been working at making a process that is both more disciplined and rigorous to address feedback on quality but at the same time find ways of improving efficiencies. It has been a really tricky balance given the number of active participants in the task force and the level of support resources we have available. I'm optomistic that in 2021 we will be able to make significant gains in both quality and efficiency through stronger community engagement programs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very, very much for this PR!
I'd like to ensure the purpose of the guidance and when it applies is a bit more clear. Also, we can simplify some of the language for consistency with the rest of APG. I made two suggestions to these ends.
Co-authored-by: Matt King <[email protected]>
Co-authored-by: Matt King <[email protected]>
Accepted the suggested rewordings. thanks @mcking65 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you again for this PR. It provides meaningful improvement to the clarity of the guidance. And, I'm really happy to close an issue that has been outstanding for more than 2 years!
As this is a clarification of existing guidance as opposed to a change, I'm comfortable classifying this as editorial and merging given that it also as approval from @carmacleod.
aria-describedby
and when it's best NOT to use it (for structure-heavy dialogs)Closes #442
Preview | Diff