Skip to content

updates needed for use of aria-required in HTML #1118

Closed

Description

@scottaohara

test cases

test 1 expects no warnings for use of aria-required on elements where the required attribute is allowed. presently date, datetime-local, month, time and week inputs do not pass the validator.

test 2 expects a warning when aria-required=true and required are used on the same element. presently only textarea and select throw a warning for the duplicate use of this attribute.

test 3 expects an error when aria-required=false and required are used on the same element. presently this is not implemented

Activity

  1. sideshowbarker commented on May 25, 2021

    @sideshowbarker
    Member

    test cases

    test 1 expects no warnings for use of aria-required on elements where the required attribute is allowed. presently date, datetime-local, month, time and week inputs do not pass the validator.

    Fixed by 78b8018c

    test 2 expects a warning when aria-required=true and required are used on the same element. presently only textarea and select throw a warning for the duplicate use of this attribute.

    Fixed by 726e759

    test 3 expects an error when aria-required=false and required are used on the same element. presently this is not implemented

    Fixed by 726e759

    So I believe all problems reported in this issue are now fixed in the sources — and pushed to https://validator.w3.org/nu/ — and so I’m going ahead and closing this. But if I’ve missed anything, please let me know.

  2. scottaohara commented on May 25, 2021

    @scottaohara
    CollaboratorAuthor

    thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions