Skip to content

Interactive Controls must not be nested accessibility issue #157

@pdfabbro

Description

@pdfabbro

When you run axe devTools on the file upload component it complains with "Interactive controls must not be nested" due to the label element having role="button" on it. This combined with the hidden input field lead to the accessibility issue. role="button" should be removed from the label. Either that or we should be able to override this property if we provide a custom button as children

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions