Skip to content

aria-label Warning on aria-hidden elements #25

@ConduciveMammal

Description

@ConduciveMammal

Describe the bug
I'm getting a warning to provide an aria-label on elements that are both hidden & aria-hidden="true". Since this element is hidden from screen-readers, there is no need for a label.

To Reproduce
Steps to reproduce the behavior:

  1. Include <input type="hidden" aria-hidden="true" name="contact[tags]" value="newsletter">

Expected behavior
When adding either hidden or aria-hidden="true" attributes, the warning should be silenced.

Screenshots
image

Visual Studio Code (please complete the following information):

  • Version 1.37.1

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions