Skip to content

Required states can come from native elements [4e8ab6] #2138

Open

Description

@WilcoFiers

This came from a comment from @JAWS-test on a review

The following shouldn't fail the Element with role attribute has required states and properties rule. The checked state is present even without the aria-checked attribute, because it is on a native checkbox.

<input type="checkbox" role="menuitemcheckbox">

Activity

  1. changed the title [-]Requires states can come from native elements [4e8ab6][/-] [+]Required states can come from native elements [4e8ab6][/+] on Dec 5, 2023
  2. Jym77 commented on Dec 7, 2023

    @Jym77
    Collaborator

    Decision:

    • we need "implicitly set" and "explicitly set" definitions.
    • "required state" rule should accept implicitly set states (i.e., this example is good, there is no author error)
    • "allowed states" rule should only flagged explicitly set states (i.e. <input type="checkbox" role="button"> shouldn't be flagged for un-allowed aria-checked since it is not an author error).
  3. self-assigned this
    on Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions