Skip to content

aria-hidden-focus does not account for inputs being inside a disabled <fieldset> #2961

@thomasbickley-cgi

Description

@thomasbickley-cgi

Product: axe Extension

Expectation: An input that is inside a <fieldset> that has been disabled should not be treated as focusable by the aria-hidden-focus rule

Actual: An input that is inside a <fieldset> that has been disabled is still treated as focusable by the aria-hidden-focus rule

Motivation: The aria-hidden-focus rule returns a false positive when aria-hidden is used with a disabled fieldset

Example:
The aria-hidden-focus rule flags the following as a serious issue, despite the input not actually being focusable.

<fieldset disabled="disabled" aria-hidden="true">
	<input />
</fieldset>
axe-core version: 4.2.0
axe extension version: 4.9.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixBug fixesprA pr has been created for the issuerulesIssue or false result from an axe-core rule

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions