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

feat(docs): add role attribute & title for imporve a11y on SVG #12077

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

vladboisa
Copy link

Summary

Changed SVG's from first page on svg search
Almost Fixes #6976

Problem

Solution


Screenshots

Before

After


How did you test this change?

Signed-off-by: GitHub <[email protected]>
Added the role="img" attribute with role="presentation" on the child SVG and title for improving a11y

Fixes mdn#6976

Signed-off-by: GitHub <[email protected]>
@vladboisa vladboisa requested a review from a team as a code owner November 3, 2024 17:49
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have a doubt about formatting and naming of title

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also don't know about naming

@github-actions github-actions bot added the idle label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve a11y of SVG elements using ARIA
1 participant