wcag/h30 does not skip links that have aria-hidden
Provide a broad description of the bug. The wcag/h30 rule helps catch missing labels on anchors. But if the anchor is taken out of the accessibility tree with `aria-hidden="true"` (and out of tab order with `tabindex="-1"`), it does not need a label since the anchor is purely visual. ## Reduced test-case ``` <a aria-hidden="true" tabindex="-1"></a> ``` ## Configuration ``` { "rules": { "wcag/h30": "error" } } ``` ## Expected result I would expect the validation to succeed. ## Actual result The validation failed. ## Version - `html-validate`: 3.3.0
issue