-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously the div of attachments used 'aria-labelledby' to refer to an outer heading element, which is incorrect: the label should refer to something inside the 'div'. The 'div' should also set the appropriate 'role="section"' attribute [1], or we can just replace the 'div' with a 'section' element [2]. This corrects the structure of the attachments partial so that the sections properly self-describe. Each section now has an ID, so they continue to be easy to grab hold of in tests. [1] https://www.w3.org/TR/wai-aria/#region [2] https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Region_role
- Loading branch information
Ben Thorner
committed
Mar 27, 2020
1 parent
a097b81
commit bf24c71
Showing
4 changed files
with
20 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters