a11yTips — Assign a form landmark role to the page’s form…

Assign a form landmark role to the page’s form sections

Make sure the form sections are identified using the form landmark role

While native HTML semantics always provide a more reliable way to convey the role, name and value of each form control, forms can still exist as a mix of basic HTML controls, scripted custom controls, and simple hyperlinks. In such cases, the true purpose of form controls can be lost on users of assistive technologies. The form landmark role is intended to fix this, by programmatically defining a region that contains a collection of forms, items and/or objects that, as a whole, combine to create a form.

To do this, simply make sure the form ARIA landmark role is assigned to the parent container for the form(s). It is recommended to use the form landmark role on semantically neutral elements such as a DIV, and not on FORM elements themselves, as the latter already have role semantics exposed by default. Regions thus identified will then represent a collection of form-associated elements that can be submitted to a server for processing. Within any document or application, the author should make sure to mark up any collection of form-associated elements with its own [...]

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