En Using ARIA : First Rule of ARIA: If you can use a native HTML element or attribute with the semantics and behavior you require already built in, instead of re-purposing an element and adding an ARIA role, state or property to make it accessible, then do so. Second Rule of ARIA Use: Do not change native semantics, unless you really have to. Third Rule of ARIA Use: All interactive ARIA controls must be usable with the keyboard. Fourth Rule of ARIA Use: Do not use role="presentation" or aria-hidden="true" on a focusable element. Fifth Rule of ARIA Use: All interactive elements must have an accessible name. Y en español: Primera regla de ARIA: si puede usar un elemento o atributo HTML nativo con la semántica y el comportamiento que ya necesita, en lugar de reutilizar un elemento y agregar un rol, estado o propiedad de ARIA para hacerlo accesible, entonces hágalo. Segunda regla de ARIA: no cambie la semántica nativa, a menos que realmente tenga que hacerlo. Tercera re
Comentarios
Publicar un comentario