Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ariaPublic

Update aria-valuenow to use native value as the default instead of 0#2643

Draft
smhigley wants to merge 1 commit intomainfrom
aria-valuenow-default
Draft

Update aria-valuenow to use native value as the default instead of 0#2643
smhigley wants to merge 1 commit intomainfrom
aria-valuenow-default

Conversation

@smhigley
Copy link
Contributor

@smhigleysmhigley commentedSep 25, 2025
edited by pr-previewbot
Loading

Closes#2631

Right now, the spec says thataria-valuenow should default to 0 even if on an element like<input type="text"> with a nativevalue.

This PR updates the spec to specify that the nativevalue should be used if it exists andaria-valuenow is undefined, falling back on 0 if both are absent.

A few questions to resolve include:

  • shouldelement.ariaValueNow be mapped tovalue ifaria-valuenow is not present, or should it be an AAM thing?
  • This came up because ofrole=spinbutton, but I think it's equally appropriate if less frequent on otheraria-valuenow-supporting roles. Does that seem reasonable?

Test, Documentation and Implementation tracking

Once this PR has been reviewed and has consensus from the working group, tests should be written and issues should be opened on browsers. Add N/A and check when not applicable.

  • "author MUST" tests:
  • "user agent MUST" tests:
  • Browser implementations (link to issue or commit):
    • WebKit:
    • Gecko:
    • Blink:
  • ACT review?
  • Does this need AT implementations?
  • Related APG Issue/PR:
  • MDN Issue/PR:

Preview |Diff

@netlify
Copy link

netlifybot commentedSep 25, 2025
edited
Loading

Deploy Preview forwai-aria ready!

NameLink
🔨 Latest commit1e5fb49
🔍 Latest deploy loghttps://app.netlify.com/projects/wai-aria/deploys/68d57875c3489600084bf3eb
😎 Deploy Previewhttps://deploy-preview-2643--wai-aria.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to yourNetlify project configuration.

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

Reviewers

@cookiecrookcookiecrookAwaiting requested review from cookiecrook

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

Projects

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[aria-valuenow]: default to native value when one exists

2 participants

@smhigley@cookiecrook

Comments


[8]ページ先頭

©2009-2026 Movatter.jp