Skip to content

fix(ui5-date*): remove aria-pressed from time selection clocks#12964

Merged
hinzzx merged 1 commit intomainfrom
toggle-btn-spin-acc-fix
Feb 4, 2026
Merged

fix(ui5-date*): remove aria-pressed from time selection clocks#12964
hinzzx merged 1 commit intomainfrom
toggle-btn-spin-acc-fix

Conversation

@hinzzx
Copy link
Contributor

@hinzzx hinzzx commented Jan 27, 2026

Problem

The ui5-toggle-spin-button component (used in ui5-time-picker, ui5-datetime-picker, ui5-date-picker, ui5-date-range-picker) has role="spinbutton" but includes aria-pressed attribute, which is not a supported attribute for the spinbutton role per WAI-ARIA 1.2 spec.

  1. Invalid ARIA attributearia-pressed is not in the list of supported states/properties for spinbutton role

Solution

Removing unsupported aria-pressed attribute.

What This Fixes

  • ✅ ARIA 1.2 — spinbutton role no longer has unsupported aria-pressed attribute
  • ✅ AXE/AccessContinuum — invalid ARIA attribute violation resolved
  • ✅ No visual or functional changes

@ui5-webcomponents-bot
Copy link
Collaborator

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview January 27, 2026 08:09 Inactive
@unazko unazko requested a review from tsanislavgatev January 29, 2026 07:34
@hinzzx hinzzx merged commit 50fc153 into main Feb 4, 2026
21 of 22 checks passed
@hinzzx hinzzx deleted the toggle-btn-spin-acc-fix branch February 4, 2026 06:44
@ui5-webcomponents-bot
Copy link
Collaborator

🎉 This PR is included in version v2.19.0-rc.3 🎉

The release is available on v2.19.0-rc.3

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants