Skip to content

Fix missing label of Search function - #28238

Merged
juliusknorr merged 1 commit into
masterfrom
accessibility/search
Jul 29, 2021
Merged

Fix missing label of Search function#28238
juliusknorr merged 1 commit into
masterfrom
accessibility/search

Conversation

@jancborchardt

Copy link
Copy Markdown
Member

Fixes the remaining issue reported by Lighthouse by moving the aria-label from the icon to the link itself.

@marcoambrosinimarcoambrosini 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.

Code seems ok but can't test atm, so...

giphy

Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
@jancborchardt

Copy link
Copy Markdown
MemberAuthor

Now works thanks to @juliushaertl! The issue was that due to the v-if, the target of the aria-controls doesn’t actually exist in the DOM unless opened. Replacing it with v-show fixed it. 🎉

@juliusknorrjuliusknorr 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.

🚀

@jancborchardt

Copy link
Copy Markdown
MemberAuthor

/backport to stable22

@jancborchardt

Copy link
Copy Markdown
MemberAuthor

/backport to stable21

@jancborchardt

Copy link
Copy Markdown
MemberAuthor

/backport to stable20

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbugdesignDesign, UI, UX, etc.feature: accessibility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@jancborchardt@juliusknorr@marcoambrosini