-
Notifications
You must be signed in to change notification settings - Fork 437
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
[Deque Analysis] Header's "serious" accessibility issues #1174
Labels
Milestone
Comments
tdonohue
changed the title
[Deque Analysis] Header's serious accessibility issues
[Deque Analysis] Header's "serious" accessibility issues
May 11, 2021
8 tasks
Reanalyzed this ticket today after several accessibility fix PRs (see above). I believe ALL the issues are resolved in this ticket except for Therefore, I'm going to close this ticket as fixed (as of 7.6.2) and open a new ticket to track that final accessibility bug. See #2699 |
github-project-automation
bot
moved this from 📋 To Do
to ✅ Done
in DSpace 8.x and 7.6.x Maintenance
Dec 6, 2023
tdonohue
removed
help wanted
Needs a volunteer to claim to move forward
Estimate TBD
labels
Dec 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Deque Analysis Summary
Our Header has a total of 11 serious accessibility issues (not including color contrast which are handled in other tickets).:
Document has active elements with the same id attribute:query
. We may need to change theid
of the query field in the header, as it may conflict with the query field in the main section of the homepage.Lists in headers are deformed. "<ul>
and<ol>
must only directly contain<li>
,<script>
or<template>
elements" (and visa versa)It appears our<ul>
elements tend to contain a custom Angular template (e.g.ds-navbar-section
) which then contains the<li>
. We may need to find a way to stop Angular from printing out the template tag, if that's possible. Some possible hints https://stackoverflow.com/q/38716105/3750035Keyboard focus falls on an element that is hidden (search box). That element should either be fully hidden or visible when focused. See also https://dequeuniversity.com/class/input-methods2/keyboard-input/tab-order and Issue ticket."Keyboard focus is lost or misplaced due to user interaction or content update, or other reason." on the Language button & User Profile link.Activate the "Language" icon/ "User profile" iconA dropdown (language) and login (modal) appears respectivelyWhen the focus is still on the icons, activate the buttons, to collapse the expanded content.Observe that the focus is lost and the next tab focus enters the "Admin Sidebar".Fix this issue by explicitly placing focus on a logical element when content is removed, refreshed, or added, for example: (1) For content added to the screen in reaction to a user-fired event, focus should be shifted to the new content - such as in single page applications. (2) For content removed from the screen in reaction to a user-fired event, focus should be shifted to the next logical place in the interaction.Non-decorative content is inserted using CSS pseudo-elements. (Search icon & globe icon)RULE : Non-decorative content MUST NOT be inserted using CSS :before and :after pseudo-elements unless there is a way to access the content with CSS turned off.HOW TO FIX: Fix this issue by including the content directly in the DOM using HTML. See also https://www.w3.org/TR/WCAG20-TECHS/F87.html"id attribute value must be unique". Document has multiple static elements with the same id attribute:search-navbar-container
andlogoutDropdownMenu
NOTE: Rated a "minor" issue, not "serious", but it may be simple to fix. If it's not simple, it should be delayed & moved to a different ticket.(NOTE: several content overlap / zoom issues, ID: 469270 and 469272, were also reported by Deque, but they appear to have been fixed by #1118)
The full list of these issues (which includes links for more info) can be found at this link (requires login): https://axeauditor.dequecloud.com/test-run/0856438a-a19a-11eb-bc31-b7d5be387c86/issues?activeTab=dt-issue&page=0&pageSize=25&sortField=ordinal&sortDir=asc&filter%5Bseverity%5D=3&filter%5Btype%5D=issue&filter%5Bcomponent_number%5D=0&row=9
Related work
Related also to #1167 (other Header issues), but this ticket is slightly lower priority.
More Information / Tools
The text was updated successfully, but these errors were encountered: