Fix: Accessibility roles and aria labels by jhildenbiddle · Pull Request #2304 · docsifyjs/docsify · GitHub
Skip to content

Fix: Accessibility roles and aria labels#2304

Merged
jhildenbiddle merged 11 commits into
developfrom
2295-element-roles
Nov 29, 2023
Merged

Fix: Accessibility roles and aria labels#2304
jhildenbiddle merged 11 commits into
developfrom
2295-element-roles

Conversation

@jhildenbiddle

@jhildenbiddle jhildenbiddle commented Nov 15, 2023

Copy link
Copy Markdown
Member

Summary

Improves site accessibility by assigning proper roles and aria attributes to elements by implementing all non-breaking recommendations from #2295.

Note: You may have to unmute the videos below to hear VoiceOver audio.

Before

  • Landmark elements are not properly identified
  • Search results not identified
2295-before.mp4

After

  • Landmark elements are properly identified
  • Search results are identified
2295-after.mp4

Related issue, if any:

#2295

What kind of change does this PR introduce?

Accessibility
Fix
Feature

Does this PR introduce a breaking change?

No

Tested in the following browsers:

  • Chrome
  • Firefox
  • Safari
  • Edge

@vercel

vercel Bot commented Nov 15, 2023

Copy link
Copy Markdown

@trusktr trusktr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The changes look good for non-ecosystem-breaking changes. Are there any other elements that could possibly need aria labels?

@jhildenbiddle

jhildenbiddle commented Nov 29, 2023

Copy link
Copy Markdown
Member Author

@jhildenbiddle jhildenbiddle merged commit da43bd7 into develop Nov 29, 2023
@jhildenbiddle jhildenbiddle deleted the 2295-element-roles branch November 29, 2023 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accessibility: Assign proper element roles using semantic HTML or role attributes

3 participants