-
Notifications
You must be signed in to change notification settings - Fork 25
Accessibility
Ryan Johnson edited this page Nov 1, 2017
·
22 revisions
(a.k.a. "a11y")
-
The native focusable elements are buttons, inputs (of all types), and links. Links. Not the
aelement, but links. The only difference is in the presence of anhrefattribute. If theaelement has a hyperlink reference, then it’s a link. If it doesn’t, it’s an anchor, and doesn’t receive focus in the tab order.
| Link | Anchor |
|---|---|
<a href="#deep-link">Deep Link</a> |
<a id="deep-link"></a> |
| Receives focus in tab order. | No focus given. |