Skip to content

should add role="presentation" on the surrounding li  #158

@gaurav5430

Description

@gaurav5430

In the example usage on the website and the example as part of the repo, the li which contains the menuitem does not have its semantics hidden (using role=presnetation or role=none). Which means for a screenreader user this is extra info which doesn't make sense semantically ?

Would it be better to add role="presentation" on these wrapper lis

This is also suggested on the WAI ARIA pattern

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