Skip to content

Conversation

@mehm8128
Copy link

@mehm8128 mehm8128 commented Dec 7, 2025

Description

unmarked not required aria attributes as required.

Motivation

Because aria-selected for option role and aria-valuenow for spinbutton role are not required and both roles have default values for their attributes.

https://www.w3.org/TR/wai-aria-1.2/#spinbutton

Authors SHOULD set the aria-valuenow attribute when the spinbutton has a value.

(->not MUST)

Default for aria-valuenow is 0

https://www.w3.org/TR/wai-aria-1.2/#option

Elements with the role option have an implicit aria-selected value of false.

Default for aria-selected is false.

Additional details

Related issues and pull requests

@mehm8128 mehm8128 requested a review from a team as a code owner December 7, 2025 15:26
@mehm8128 mehm8128 requested review from scottohara and removed request for a team December 7, 2025 15:26
@github-actions github-actions bot added Content:Accessibility Accessibility docs size/xs [PR only] 0-5 LoC changed labels Dec 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:Accessibility Accessibility docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant