Closed scottaohara closed 3 years ago
this update should be accompanied by an example
this issue will be partially resolved when #262 is merged. an example what to do instead (e.g., an <a>
w/out href
used with aria-disabled=true
) would need to be made to close this issue.
Have you checked possible issues with validators using
<a role=link aria-disabled=true>
with respect to role redundancy warnings?
<a>
without href
allows for any role. <a>
without href
is not supposed to be exposed as a link
, so there's no redundancy here.
closing as this work will be picked up in #259
if authors really want to disable links, they can instead do
<a role=link aria-disabled=true>
as removing thehref
rather than jumping through all the hoops to try and suppress the various ways one can interact with a link.