a11yTips — Using aria-describedby properties to describe…

Using aria-describedby properties to describe Close buttons’ actions

Make sure the aria-describedby property is used to identify form control labels

Buttons intended to close modal dialog windows are often represented as simple “X” characters, located in the upper right corner of the windows. While this use has become a widely accepted user interface design convention throughout websites, it can still confuse some users, especially those who cannot actually see the screen and would only hear about an actionable page component called X. In order for these buttons to be meaningful to all users, including those who use screen readers, authors need to make sure the value conveyed through assistive technologies is much more descriptive.

To do so, simply make sure to explicitly and programmatically associate the “X” value with complementary information that will provide context and purpose for the button. This complementary information can reliably be conveyed through the use of the aria-describedby property, assigned to the button itself. While it will not provide additional information to sighted users, doing so will allow non-sighted users who cannot benefit from the visual indicators of the page to still get a clear understanding of the button’s purpose or function.

User Story

As a user using assistive [...]

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(792): require() #1 /home/webable/www/www/wp-includes/template.php(725): 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