Skip to content
This repository has been archived by the owner on May 8, 2020. It is now read-only.

Search form #1

Open
2 tasks
alexroseb opened this issue Apr 26, 2018 · 0 comments
Open
2 tasks

Search form #1

alexroseb opened this issue Apr 26, 2018 · 0 comments
Assignees
Labels
a11y Needs an a11y fix

Comments

@alexroseb
Copy link
Owner

alexroseb commented Apr 26, 2018

Overview

The search bar is theoretically part of the tab index, but :focus doesn't show up when it's tabbed to and it doesn't expand when accessed via tab. If you catch it at the right time you can type in a query but that's not visible until you mouse over and the bar expands. It might work for screenreaders but is completely inaccessible for keyboard-only users.

Thoughts

We may just need to have the search bar always open, which isn't terrible (it's just hidden for aesthetics).

Goals

  • Add :focus attribute to the search button itself
  • Show search box when focus shifted to it (backup: always have search open)
@alexroseb alexroseb added the a11y Needs an a11y fix label Apr 26, 2018
@alexroseb alexroseb self-assigned this Apr 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a11y Needs an a11y fix
Projects
None yet
Development

No branches or pull requests

1 participant