Skip to content

Add accessible name to imageButton.searchButton (fixes #1100)#1128

Merged
demiankatz merged 2 commits into
UniversalViewer:devfrom
LlGC-jop:fix-issue-1100
Oct 21, 2024
Merged

Add accessible name to imageButton.searchButton (fixes #1100)#1128
demiankatz merged 2 commits into
UniversalViewer:devfrom
LlGC-jop:fix-issue-1100

Conversation

@LlGC-jop

Copy link
Copy Markdown
Contributor

Fixes #1100

Sets aria-label and title on the search button with already-present searchWithin text.

en - Search within this item:
cy - Chwilio tu fewn i:

@vercel

vercel Bot commented Oct 16, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
universalviewer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2024 3:26pm

@demiankatz demiankatz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks, @LlGC-jop, looks reasonable to me from a code perspective; wondering if @LanieOkorodudu or others can do a hands-on test to confirm the desired functionality.

@LanieOkorodudu LanieOkorodudu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@demiankatz, I can now see the appropriate label when hovering over the search button, ensuring better accessibility and user experience. Great work on fixing this @LlGC-jop

@demiankatz demiankatz changed the title Fix issue 1100 Add accessible name to imageButton.searchButton (fixes #1100) Oct 21, 2024
@demiankatz demiankatz merged commit 24f3080 into UniversalViewer:dev Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Community Sprint COMPLETED

Development

Successfully merging this pull request may close these issues.

imageButton.searchButton Does not Have an Accessible Name

3 participants