Focus styling

One of the most significant things you can do to improve the accessibility of your work is to create highly visible focus indicators . There are many people with disabilities that use a keyboard and rely on focus indicators to see where their cursor is on the screen.

Tabbing through this section shows a very subtle focus outline. In this case, outline: none is used to remove the blue glowing webkit outline, likely because someone didn't like the look of the blue glow. Instead they add a subtle outline for the focus state. Too subtle. Tab through and see for yourself:


Now that you've tabbed through, change the class on the <ul role="complementary"> to include class="half" and then tab through again. Go ahead... I'll wait right here.

For your final time tabbing through, change it to class="full" to see an even better focus style.


Want to see all three examples together? Check out all three focus styles (full view) on the same page.