-
-
Notifications
You must be signed in to change notification settings - Fork 182
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
Enhance accessibility by adding ARIA attributes to local content sections #890
base: main
Are you sure you want to change the base?
Conversation
@TimidRobot @Shafiya-Heena @possumbilities pls review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In addition to the code comments, please try to remove unnecessary changes from this pull request (PR). The size of this PR makes it difficult to review and that is exacerbated by the additional formatting changes, etc.
themes/vocabulary_theme/templates/blocks/featured-projects.html
Outdated
Show resolved
Hide resolved
themes/vocabulary_theme/templates/blocks/featured-projects.html
Outdated
Show resolved
Hide resolved
themes/vocabulary_theme/templates/blocks/featured-projects.html
Outdated
Show resolved
Hide resolved
themes/vocabulary_theme/templates/blocks/featured-projects.html
Outdated
Show resolved
Hide resolved
themes/vocabulary_theme/templates/blocks/featured-projects.html
Outdated
Show resolved
Hide resolved
themes/vocabulary_theme/templates/blocks/featured-projects.html
Outdated
Show resolved
Hide resolved
themes/vocabulary_theme/templates/blocks/featured-projects.html
Outdated
Show resolved
Hide resolved
Hi @kris70lesgo Thank you for all this work! I tried to add as many relevant comments as possible, but there are some patterns throughout that I think worth mentioning here. Overall, I think there are some
Additionally, this would be helpful to read through as well: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA
There are multiple instances in this PR of duplicating features already present in sound markup, or avoiding correcting markup by adding Please review the approach and narrow the scope to only Additionally, there are several instances of a I spotted a similar pattern attempting to use Please re-review these approaches. |
Hi,@possumbilities @TimidRobot Your emphasis on prioritizing semantic HTML over ARIA has been a valuable learning experience. I’ve taken great care to replace unnecessary ARIA with native HTML elements wherever possible, ensuring accessibility best practices are met. For cases where ARIA remains in use, I’ve ensured it provides meaningful enhancements and does not duplicate built-in functionality. I truly appreciate the time and effort you took to highlight these patterns and provide resources. It’s been a rewarding process to refine the approach based on your guidance, and I feel confident about the improvements made. If there are any additional aspects you'd like me to revisit, please don’t hesitate to let me know! Best regards, |
Fixes
Description
Enhances accessibility by adding ARIA attributes to local content sections like forms, buttons, and navigation. This improves compatibility with assistive technologies such as screen readers.
Technical details
aria-label
,aria-describedby
, andaria-labelledby
were added to form elements, buttons, and other interactive components.Tests
Screenshots
Checklist
main
ormaster
).Developer Certificate of Origin
1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors. 1 Letterman Drive Suite D4700 San Francisco, CA, 94129
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or
(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or
(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.
(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.