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 16631 - [AAPI]: abbr role exposed as... in firefox
Summary: [AAPI]: abbr role exposed as... in firefox
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 Windows NT
: P2 normal
Target Milestone: ---
Assignee: Jason Kiss
QA Contact: HTML a11y API spec bugbot
URL: http://lists.w3.org/Archives/Public/w...
Whiteboard:
Keywords: a11y
Depends on:
Blocks:
 
Reported: 2012-04-04 10:07 UTC by steve faulkner
Modified: 2012-07-08 02:13 UTC (History)
6 users (show)

See Also:


Attachments

Description steve faulkner 2012-04-04 10:07:33 UTC
"IAccessible2	ROLE_SYSTEM_ TEXT"

alex wrote:

) abbr elements is exposed in Firefox as "abbr" VARIANT on MSAA and
IA2_ROLE_TEXT_FRAME on IA2.
Comment 1 Jason Kiss 2012-06-04 22:09:08 UTC
MSAA roles are an enumerated list. Firefox's implementation using VARIANT is unique.
Comment 2 alexander surkov 2012-06-05 02:47:51 UTC
(In reply to comment #1)
> MSAA roles are an enumerated list. Firefox's implementation using VARIANT is
> unique.

IAccessible::get_accRole takes VARIANT, the VARIANT arg should contain MSAA role from enumerated list (http://msdn.microsoft.com/en-us/library/windows/desktop/dd318485%28v=vs.85%29.aspx) or in Firefox case it may contain a string. I assume you meant that. 

Anyway, IA2 issue is not addressed here.
Comment 3 steve faulkner 2012-06-05 16:57:22 UTC
(In reply to comment #1)
> MSAA roles are an enumerated list. Firefox's implementation using VARIANT is
> unique.

chrome exposes element names (e.g. span) as a string role value in some circumstances.

suggest that we spec how firefox/chrome populate role value. what chrome and firefox expose is different , which is not very useful. Also should look at/document how xml:role and other IA2 object attributes are used to work around deficiencies in defined roles etc.
Comment 4 alexander surkov 2012-06-06 02:16:59 UTC
Chrome shouldn't much differ from Firefox implementation but anyway we can run on case by case basis and discuss it.

So, reopening bug (at least because unaddressed IA2 mapping).
Comment 5 Jason Kiss 2012-06-07 05:16:59 UTC
(In reply to comment #4)
> So, reopening bug (at least because unaddressed IA2 mapping).

IA2 mapping for abbr updated. 

Leaving open pending discussion on how to address MSAA role mapping using string for VARIANT.
Comment 6 Jason Kiss 2012-07-08 02:13:38 UTC
Use of string "abbr" in MSAA VARIANT by Firefox and Chrome now documented:

http://dvcs.w3.org/hg/html-api-map/raw-file/tip/Overview.html#el-3