a11yTips — Visually highlight interface components when they…

Visually highlight interface components when they receive focus

no. 042

Make sure active elements are highlighted when they receive keyboard focus

Users who can’t use a mouse for whatever reason will often navigate through a page using their keyboard’s tabulation key, jumping from one active element to another (form controls, links and so on), based on source code order. Focus is generally displayed as a blinking vertical bar at the insertion point in text field, or as a dotted focus highlight rectangle on a link. This focus indicator needs to be easily noticeable, so progression through content can be effortlessly followed.

To do so, simply make sure that active elements receiving focus are highlighted in some way with a visible focus indicator. Most times, nothing needs to be done, as the browser’s default focus indicator proves sufficient. But depending on CSS layout, colors and presentation built on top of the HTML, this focus might be difficult to notice. In such cases, it can be useful to enhance the focus indicator through CSS, so it stands out better against the background of the element that currently has focus. Doing so will ensure users who can’t rely one a mouse will locate where the focus [...]

Read article at dboudreau.tumblr.com

Article Taxonomies

Categories:
Fatal error: Uncaught Error: Object of class WP_Error could not be converted to string in /home/webable/www/www/wp-content/themes/webable/content-mcm.php:65 Stack trace: #0 /home/webable/www/www/wp-includes/template.php(812): require() #1 /home/webable/www/www/wp-includes/template.php(745): load_template('/home/webable/w...', false, Array) #2 /home/webable/www/www/wp-includes/general-template.php(206): locate_template(Array, true, false, Array) #3 /home/webable/www/www/wp-content/themes/webable/single-mcm_article.php(15): get_template_part('content-mcm') #4 /home/webable/www/www/wp-includes/template-loader.php(106): include('/home/webable/w...') #5 /home/webable/www/www/wp-blog-header.php(19): require_once('/home/webable/w...') #6 /home/webable/www/www/index.php(17): require('/home/webable/w...') #7 {main} thrown in /home/webable/www/www/wp-content/themes/webable/content-mcm.php on line 65