bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Button focus while tabbing

Open tkompare opened this issue 14 years ago • 3 comments

There is no visual cue for when one is focused on a button while tabbing through a document view. You can see this on http://twitter.github.com/bootstrap/examples/fluid.html I'm using v2.0.0 in my development and am experiencing the same issue.

This is an accessibility concern for persons who cannot use a mouse.

tkompare avatar Feb 16 '12 19:02 tkompare

I've fixed my issue by changing 'bootstrap.css' line 644 from

input:focus, textarea:focus {

to:

input:focus, textarea:focus, button:focus {

Probably not the "correct" solution, but it works for my purposes so far.

tkompare avatar Feb 16 '12 20:02 tkompare

You might want to also consider tabindex if accessibility is a concern.

badmotorfinger avatar Feb 17 '12 00:02 badmotorfinger

Resolved in 2.0.1-wip with an update to the .btn on focus to specify the color of the outline.

mdo avatar Feb 17 '12 05:02 mdo