This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21421 - add aria-label and aria-valuetext to list of translatable attributes in html 5.1
Summary: add aria-label and aria-valuetext to list of translatable attributes in html 5.1
Status: RESOLVED LATER
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P3 normal
Target Milestone: ---
Assignee: steve faulkner
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords: a11y, aria
Depends on:
Blocks: 23337
  Show dependency treegraph
 
Reported: 2013-03-28 15:33 UTC by steve faulkner
Modified: 2014-01-16 15:11 UTC (History)
8 users (show)

See Also:


Attachments

Comment 1 steve faulkner 2013-03-28 15:35:47 UTC
aria-label http://www.w3.org/TR/wai-aria/states_and_properties#aria-label
Comment 2 James Craig 2013-03-29 01:21:50 UTC
Also aria-valuetext:
http://www.w3.org/TR/wai-aria/states_and_properties#aria-valuetext

Example:
<input type="range" min="1" max="5" value="5" aria-valuetext="Strongly agree.">
Comment 3 steve faulkner 2013-03-30 11:25:59 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: accepted
Change Description: https://github.com/w3c/html/commit/ff5152b2a160fb0a1d2b8a9518ab6943a679d4fb
Rationale: when the aria-label and aria-valuetext attributes are used in HTML they should be translated
Comment 4 James Craig 2013-04-01 23:34:52 UTC
I think that change does not allow the valuetext attribute on native fields like <input type="range"> or <progress>. Shouldn't it?
Comment 5 steve faulkner 2013-04-05 20:06:19 UTC
(In reply to comment #4)
> I think that change does not allow the valuetext attribute on native fields
> like <input type="range"> or <progress>. Shouldn't it?

my understadning is that it is required that by ARIA the role be explicitly assigned to apply aria-* that have required roles.

example: 

<input type="range" role="slider">

If this isn't the case then I will change it
Comment 6 James Craig 2013-04-05 20:28:02 UTC
Good question. That sounds like a discussion topic for XTECH or the HTML AX TF.

In ARIA, the attribute is added on "range", which is an abstract role including "slider", which the HTML range input uses as its default native semantic role. Because of this, I had made the assumption that the attribute would be allowed on any element using the role, whether explicitly or implicitly, but you may be right that my assumption needs clarification or more discussion.
Comment 7 James Craig 2013-04-09 04:41:16 UTC
We've got a separate PF issue for that now. This can be closed. Thanks Steve.
Comment 8 James Craig 2013-04-09 04:44:46 UTC
PFWG-ACTION-1189
Comment 9 github bugzilla bot 2013-10-14 15:35:22 UTC
Commit pushed to master at https://github.com/w3c/html

https://github.com/w3c/html/commit/b99b3fabb685d617dcc2a19360c6e1d057436cfc
removed aria translatable attribute stuff

see bug 21421 and discussion on cloned bug 23337
Comment 10 steve faulkner 2013-10-14 15:37:08 UTC
waiting on hixie's commit to whatwg refer to cloned bug 23337 for more detail
Comment 11 Travis Leithead [MSFT] 2013-11-22 01:34:33 UTC
Fixed and cherry-picked into HTML5.1
Comment 12 github bugzilla bot 2014-01-16 15:11:20 UTC
Commit pushed to CR at https://github.com/w3c/html

https://github.com/w3c/html/commit/b99b3fabb685d617dcc2a19360c6e1d057436cfc
removed aria translatable attribute stuff