DP-9177 a11y rules of court header #1617
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Any PRs being created needs a changelog.txt file before being merged into dev. See: Change Log Instructions
Description
- Remove
h3
from the sub category.- Add contextual info to the category and sub category for screen reader users.
- Set up an association between the page title and the category info.
Related Issue / Ticket
Steps to Test
div#page-category
.div#page-category
hasaria-hidden="true"
to avoid getting announced repeatedly as screen reader users going through the header area.div.ma__page-header__category
has the contextual info "This page is under the category of " as visually hidden text.div.ma__page-header__subCategory
has the contextual info "the sub category of" as visually hidden text.H1
hasaria-describedby="page-category"
to associate the page title with the category info. It lets screen readers announce the category info when the page title is announced.Screenshots
Use something like licecap to capture gifs to demonstrate behaviors.
Additional Notes:
Anything else to add?
Impacted Areas in Application
@todo
Today I learned...