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

chore(a11y): add missing role='search' and type='search' in navbar component and examples #785

Merged
merged 3 commits into from
Oct 18, 2021

Conversation

julien-deramond
Copy link
Member

@Aniort pointed out to @Nurovek in his WIP development of Global Headers a missing role=search as an attribute of the <form>s.

This PR is a proposal to apply this feedback all over Boosted documentation.

If this PR is merged, @ffoodd , do you think Bootstrap would be interested in such a modification?

@ffoodd
Copy link
Contributor

ffoodd commented Aug 27, 2021

Maybe, but check first if it's been already tried, to not waste your time 😉

@yannickcornaille yannickcornaille self-assigned this Oct 6, 2021
@ffoodd
Copy link
Contributor

ffoodd commented Oct 6, 2021

Not 100% sure but please try 😄

FWIW pa11y-ci might complain about multiple search roles in the same page.

Maybe a callout to mention the role would help, too?

@julien-deramond
Copy link
Member Author

julien-deramond commented Oct 8, 2021

Not 100% sure but please try 😄

FWIW pa11y-ci might complain about multiple search roles in the same page.

Maybe a callout to mention the role would help, too?

@ffoodd and/or @yannickcornaille, do the location and the content of the callout seem OK to you? (see https://deploy-preview-785--boosted.netlify.app/docs/5.1/components/navbar/#forms)

@julien-deramond julien-deramond merged commit 4f42dd5 into main Oct 18, 2021
@julien-deramond julien-deramond deleted the add-role-search-in-forms branch October 18, 2021 13:46
@julien-deramond julien-deramond mentioned this pull request Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants