aria-hidden elements do not contain focusable elements
-
I’m checking my site for accessibility and I’m getting an error that seems to relate to Antispam Bee.
The issue is: aria-hidden elements do not contain focusable elements, which is a failure of WCAG 2.1 AA.
The relevant code is:
<textarea id="comment" aria-label="hp-comment" aria-hidden="true" name="comment" autocomplete="new-password" style="padding:0 !important;clip:rect(1px, 1px, 1px, 1px) !important;position:absolute !important;white-space:nowrap !important;height:1px !important;width:1px !important;overflow:hidden !important;" tabindex="-1"></textarea>
Can you explain what this code does, and why it needs the aria-hidden value of true?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.