Open MattWilsonMD opened 3 years ago
Supporting this! It gets flagged in our ADA review of Divi sites all the time.
Same. The attribute is redundant.
This may be a slightly different issue, but I'll leave it as a comment for now. Yesterday I found a social icon link in the footer with role="button"
. The ARIA roles seem off enough that I've had to turn off the setting that adds them.
I don't know exactly what has happened in the time, but since this issue has been opened on July 2021, and after that:
Here:
Note: Where possible, it is recommended that you use a native [<a>](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) element rather than the link role, as native elements are more widely supported by user agents and assistive technology. Native [<a>](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) elements also support keyboard and focus requirements by default, without need for additional customization.
I advise to remove role="link" from <a>
tags since it is clearly redundant. Unfortunately, I see this very often around the web, for example in <main role="main">
or <nav role="navigation">
and I don't see why it would need to be specified two times.
The "ARIA support" option in the settings is useful, but I would advise you to remove the function that adds
role="link"
to<a>
tags. I advise this for two reasons: