-
Notifications
You must be signed in to change notification settings - Fork 5
Accessibility issues
We should ensure that all items of interest have ARIA roles associated with them. Note that many elements have implicit roles (and implicit roles should not be redundantly made explicit roles), there are rules about which elements can be assigned which roles. This makes choosing what HTML elements to use and assigning roles to them a process that requires a fair bit of care.
For navigational ease, we should identify all Landmarks in the system. Note that Landmark itself is an abstract type and should not be assigned. Use the subclasses listed in the chart.
In our system, we have links (which navigate) and buttons (which perform actions). In general, we should use <a>
tags for links and <button>
tags for buttons, so they will have the correct implicit ARIA roles. Sometimes we want links to be styled like buttons. In those cases, we can apply the btn
class.