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 23420 - All AX API RoleDescription values should quoted strings (and localized)
Summary: All AX API RoleDescription values should quoted strings (and localized)
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML a11y APIs (editor: Steve Faulkner, Cynthia Shelly) (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Jason Kiss
QA Contact: HTML a11y API spec bugbot
URL:
Whiteboard:
Keywords: a11y
Depends on:
Blocks:
 
Reported: 2013-10-02 05:10 UTC by James Craig
Modified: 2013-10-02 09:03 UTC (History)
6 users (show)

See Also:


Attachments

Description James Craig 2013-10-02 05:10:59 UTC
Please notice the ARIA implementation lists the AX API values as (example):

  AXRole: AXGroup
  AXSubrole: <nil>
  AXRoleDescription: "group" (note the quotation marks)

And the table has a note stating all AXRoleDescription values are localized, user-presentable strings.

The html-aapi does not make these two details clear.

1. It's a string.
2. It's localized by the user agent.
Comment 1 Jason Kiss 2013-10-02 07:36:03 UTC
(In reply to James Craig from comment #0)
> The html-aapi does not make these two details clear.
> 
> 1. It's a string.
> 2. It's localized by the user agent.

The elements mapping table includes the following sentence in the "Notes" preceding the table, as opposed to in a footnote referenced from the AX column header:

"User agents should return a user-presentable, localized string value for the Mac Accessibility AXRoleDescription."

Will add quotation marks around the string values, though :)
Comment 2 James Craig 2013-10-02 08:00:23 UTC
That might be the fastest W3C edit I've ever seen.
Comment 3 Jason Kiss 2013-10-02 08:46:55 UTC
(In reply to James Craig from comment #2)
> That might be the fastest W3C edit I've ever seen.

Helps that it was an easy one. :)