Skip to content
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

[Port dspace-7_x] Fix accessibility issues (part 2) #2786

Merged
merged 15 commits into from
Jan 31, 2024

Conversation

tdonohue
Copy link
Member

(Manual) Port of #2717 by @alexandrevryghem to dspace-7_x.

- Fixed header ordering
- Fixed input field not having a description what it does (because the header isn't always shown I decided to use aria-labels instead of regular labels)
- Fixed input not describing itself
- Put the items from the dropdown in an ul
- Fixed broken aria labels
- Removed titles who where identical to the displayed value
- Replaced the h6 tags with the role heading
- Gave the gear button the roles in order to be detected as an expandable menu
- Replaced the dropdown structure to render a menu of listboxes
- Added the aria-selected attribute
- Removed empty label of the select box and replaced it with an aria-label
- Fixed empty table header
- Removed empty label of the select box and replaced it with an aria-label
- Fixed empty table header
- Removed empty label of the select box and replaced it with an aria-label
- Fixed empty table header
- Replaced invisible label in AccessControlArrayFormComponent that was only used for styling with span
- Fixed radio buttons not being part of a fieldset
- Fixed empty table header
- Hide fontawesome icons for screen readers
- Replaced dangling labels with spans and added more descriptive aria label to browse link
- Fixed empty label/missing header in edit resource policy table
- Added missing comcol logo al text
- Refactored dso-edit-menu-section to not display empty link buttons and duplicate titles
- The form used a fieldset tag instead of a form tag
- Hide fontawesome icons for screen readers
- Added missing aria-label to metadata field input
- Added the correct autocomplete value
- Removed dangling labels, because aria labels already describe those input fields & we can't use ids in this component because otherwise there are duplicate ids on the /login page
- Removed non-existing dropdownMenuButton references
- Added appropriate roles to dropdown menus
@tdonohue tdonohue added this to the 7.6.2 milestone Jan 31, 2024
@tdonohue tdonohue mentioned this pull request Jan 31, 2024
8 tasks
@tdonohue tdonohue merged commit 95c635c into DSpace:dspace-7_x Jan 31, 2024
13 checks passed
@tdonohue tdonohue deleted the port_2717_to_7x branch January 31, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

2 participants