#2358·jquery-ui

Screen reader is announcing incorrect role as link for 'Previous' and 'Next' button in windows.

Author: msftedadCreated Jul 1, 2025Updated Jul 27, 2026
LabelsComp: DatepickerNeeds info

Test Environment: OS: Windows 11[Version 24H2(OS Build 24631.3593)] Edge: Version 135.0.2535.51 (Official build) (64-bit) Chrome: Version 135.0.6422.112 (Official Build) (64-bit) Screen readers: NVDA (2024.4.2) Test URL: https://jqueryui.com/datepicker/

User Impact: Visually challenged users who rely on screen readers are facing difficulty if Screen reader is announcing incorrect role as link for 'Previous' and 'Next' button in windows.

Pre-Requisite:

  1. Turn on Screen Readers: NVDA: Ctrl + Alt + N
  2. Verbosity: NVDA: Default

Repro Steps:

  1. Launch the application using URL: https://jqueryui.com/datepicker/ in windows.
  2. Date Picker screen will appear.
  3. Press tab key to move to the date control and activate it.
  4. Press tab key to move to the 'Previous' and 'Next' control.
  5. Verify whether screen reader is announcing incorrect role as link for 'Previous' and 'Next' button in windows or not.

Actual Result: Screen reader is announcing incorrect role as link for 'Previous' and 'Next' button in windows. Screen reader announces: Link Next / Link Prev

Refer Attachment: 1.Screen reader is announcing incorrect role as link for 'Previous' and 'Next' button in windows..png 2.Screen reader is announcing incorrect role as link for 'Previous' and 'Next' button in windows..mp4

https://github.com/user-attachments/assets/3349a1f0-ae98-4d14-9e0b-348fab23aa98 Image

Expected Result: Screen reader should announce correct role as "Button" for 'Previous' and 'Next' button in windows. Screen reader should announce: Button Next / Button Prev