Skip to content

Close button should be <button>, have accessible text. #260

@mrwweb

Description

@mrwweb

At present, the close button is just a <span>, so it can't have focus and therefore can't be navigated to with a keyboard. It should be made with a focusable element, probably a <button>. Further, that button needs a text label of some form. That could be done either with a span with class screen-reader-text or an aria-label attribute.

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