-
Notifications
You must be signed in to change notification settings - Fork 124
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
View your works accessibility audit #3966
Comments
Axe found 4 errors, 2 major ones for this page: Images must have alternate textHeading levels should only increase by oneAnd 2 minor ones that we decided were probably just due to Nurax's implementation instead of hyrax: All page content must be enclosed by landmarksElements must have sufficient color contrast |
@Dananji ^ |
In 241cbed we introduced changes to address accessibility issues reported in #3966. However, the introduced change broke the HTML form field names and the assumed parameters for the [batch processing][1]. This commit reverts that change, but it does not address the accessibility concern raised in #3966. That is for another commit, as I don't know if that other commit is the correct path forward. Closes #4516 Closes #4515 [1]:https://github.com/samvera/hyrax/blob/3c7258c95c1fe6f0fe1537078f3f5f458f211989/app/controllers/concerns/hyrax/collections/accepts_batches.rb#L20-L28
In consultation with @Dananji and following the [guidance of W3.org][1], this commit wraps the forms (or controls) that render the [add_buttom partial][2]. I don't believe that I have access to the accessibility testing software, so this is a bit of a stab in the dark. Note, in some cases I render the fieldset as a direct child of the form, in other cases, I render the fieldset as a container for the table used to present the elements that render the add button partial. This relates to work done in #4160 to address #3966. [1]:https://www.w3.org/WAI/tutorials/forms/grouping/ [2]:https://github.com/samvera/hyrax/blob/d5aa2f9ca802fe670687bb4f7c14ad242c1bacf6/app/views/hyrax/batch_select/_add_button.html.erb#L2
In 241cbed we introduced changes to address accessibility issues reported in #3966. However, the introduced change broke the HTML form field names and the assumed parameters for the [batch processing][1]. This commit reverts that change, but it does not address the accessibility concern raised in #3966. That is for another commit, as I don't know if that other commit is the correct path forward. Closes #4516 Closes #4515 [1]:https://github.com/samvera/hyrax/blob/3c7258c95c1fe6f0fe1537078f3f5f458f211989/app/controllers/concerns/hyrax/collections/accepts_batches.rb#L20-L28
In consultation with @Dananji and following the [guidance of W3.org][1], this commit wraps the forms (or controls) that render the [add_buttom partial][2]. I don't believe that I have access to the accessibility testing software, so this is a bit of a stab in the dark. Note, in some cases I render the fieldset as a direct child of the form, in other cases, I render the fieldset as a container for the table used to present the elements that render the add button partial. This relates to work done in #4160 to address #3966. [1]:https://www.w3.org/WAI/tutorials/forms/grouping/ [2]:https://github.com/samvera/hyrax/blob/d5aa2f9ca802fe670687bb4f7c14ad242c1bacf6/app/views/hyrax/batch_select/_add_button.html.erb#L2
This issue seems to be a report of an accessibility audit and might point to multiple things that need to be fixed. Review needed to determine work that remains to be done. Not a blocker for Hyrax 3.0 release. |
Per conversation in hyrax-wg slack, I created a new ticket for the issues that @MariaStarPower flagged: #4753 |
Descriptive summary
In testing for the Hyrax 3.0 release, the following points are actions that need to be taken on the Hyrax view your works page in order to be more accessible:
ARIA hidden element must not contain focusable elements:
<li>
elements must be contained in a<ul>
or<ol>
ARIA role must be appropriate for the element:
Checkbox inputs with the same name attribute value must be part of a group:
Ensures landmarks are unique:
Steps to reproduce the behavior
Tab Test
In Firefox and Safari, unable to tab through many of the links such as the links to the works.
Chrome works well.
The text was updated successfully, but these errors were encountered: