Skip to content

Next and Previous buttons cannot be operated via keyboard. #430

@sarbbottam

Description

@sarbbottam

The next and previous buttons are implemented using <span>, thus they are not operable via enter or space press. Please consider it replacing with <button>.

Pros

  • tabindex=0 is no more needed, <button> is a focusable element
  • role=button is no more needed, <button> exposes the role by default
  • previousClickHandler and nextClickHandler will get invoked when the buttons are activated using keyboard.

Cons

  • might need to update the styles

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