[Webkit-unassigned] [Bug 56855] [GTK] Unify accessibility role names in DRT for GTK and Mac platforms

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 24 05:05:44 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=56855





--- Comment #1 from Mario Sanchez Prada <msanchez at igalia.com>  2011-03-24 05:05:45 PST ---
Just realized that this perhaps is not a good / feasible proposal since there's not a 1:1 match between WebCore roles and Mac role names (it's almost there, but it's not 100% accurate), nor between Mac and ATK role names, so it's gonna be difficult to reach a point whether we can use the same role names as the expected results for both the Mac and GTK platforms.

One option could be then, instead of trying to print in GTK the same output than for Mac, to try to reach some consensus and make the two platforms print platform-independent rolenames as expected results in the tests (maybe those from WebCore) through the role() method in the DRT, so both platforms would expect the same thing. 

However, I wonder if it makes sense printing rolenames that does not exist in one platform: e.g., printing 'AXGroup' in GTK when there's no such ATK_ROLE_GROUP role, or printing 'AXDocument' when it seems there's not a 'NSAccessibilityDocumentRole' in Mac (talking from my vast ignorance in the Mac platform)...

Perhaps at the end it will be better to just have platform-dependant tests for a11y stuff as, after all, a11y implementations are quite different between the two platforms...

I'll keep the bug open, though, so the debate keeps open too... this could be an interesting topic to talk about next month in person in the WK contributors meeting anyway :-)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list