Skip to content

InputNumber: InputNumber with horizontal and vertical buttons are not accessible through keyboard. #7358

@akshayaqburst

Description

@akshayaqburst

Describe the bug

InputNumber: InputNumber with horizontal and vertical buttons are not accessible through keyboard.

Reproducer

No response

System Information

System:
    OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa)
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
    Memory: 1.61 GB / 7.47 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 18.20.2 - ~/.nvm/versions/node/v18.20.2/bin/node
    Yarn: 1.22.22 - ~/.nvm/versions/node/v18.20.2/bin/yarn
    npm: 10.5.0 - ~/.nvm/versions/node/v18.20.2/bin/npm
    pnpm: 9.5.0 - ~/.nvm/versions/node/v18.20.2/bin/pnpm
  npmPackages:
    react: 18.3.1 => 18.3.1

Steps to reproduce the behavior

  1. Go to https://primereact.org/inputnumber/#buttons
  2. Type something in the input box.
  3. Try navigating through the buttons using tab key.
  4. The focus goes to next section without going to increment and decrement buttons.

Expected behavior

The focus should go to increment and decrement buttons, and user should be able to press enter and update values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: DiscussionIssue or pull request needs to be discussed by Core Team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions