Feed on
Posts
Comments

ARIA Roles and Native Semantics

ARIA roles enhance or change the semantics and meaning of page elements. Whenever possible, the proper native HTML elements should be used. For example, while role=”button” could be added to a scripted link that is used to submit a form, a native button element would provide this same functionality in less markup and without relying on ARIA.

Additionally, an ARIA role should not be used if it is the same as the default role of the element. For example, role= “button” on a <button> element, role=“grid” on a table or role=“checkbox” on a <input type=“checkbox”> would be redundant and unnecessary.

 

 

Leave a Reply

MDTAP | 2301 Argonne Drive, Room T17 Baltimore, Maryland 21218| Voice: 410-554-9230 Toll Free ⁄ Voice 1-800-832-4827|Email: mdtap@mdtap.org