[Webkit-unassigned] [Bug 125493] New: [ATK] Some elements show up in the ATK hierarchy with the wrong role

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 10 04:15:25 PST 2013


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

           Summary: [ATK] Some elements show up in the ATK hierarchy with
                    the wrong role
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mario at webkit.org
                CC: jdiggs at igalia.com, webkit-bug-importer at group.apple.com


There are some elements that are showing up properly in the ATK hierarchy with the wrong role, so we need to investigate why and fix those.

Worth mentioning they do not always show up with the wrong roles, I found this while working in an ATK version of platform/mac/accessibility/role-subrole-roledescription.html, where most of the times those elements do not have children or very basic ones (e.g. <form> element having only the 'X' character as children). So, probably in some of those cases the element should not even show up (e.g. form without form elements?) but we still need to investigate it and fix the wrong role for the cases that should finally show up.

The list of identified roles showing up with wrong roles is as follows:

 * <div role="rowheader"> shows up as ATK_ROLE_CELL, should be ATK_ROLE_ROW_HEADER
 * <div role="columnheader"> shows up as ATK_ROLE_CELL, should be ATK_ROLE_COLUMN_HEADER
 * <div role="tree"> shows up as ATK_ROLE_UNKNOWN, should be ATK_ROLE_TREE
 * <div role="treeitem"> shows up as ATK_ROLE_LIST_ITEM, should be ATK_ROLE_TREE_ITEM
 * <div role="dl"> shows up as ATK_ROLE_LIST, should be ATK_ROLE_DESCRIPTION_LIST as soon as GNOME bug 720065 is fixed[1]
 * <div role="dt"> shows up as ATK_ROLE_UNKNOWN, should be ATK_ROLE_DESCRIPTION_TERM as soon as GNOME bug 720065 is fixed[1]
 * <div role="dd"> shows up as ATK_ROLE_UNKNOWN, should be ATK_ROLE_DESCRIPTION_VALUE as soon as GNOME bug 720065 is fixed[1]
 * <div role="form"> shows up as ATK_ROLE_SECTION, should be ATK_ROLE_FORM
 * <div role="alert"> shows up as ATK_ROLE_UNKNOWN, should be ATK_ROLE_ALERT
 * <div role="alertdialog"> shows up as ATK_ROLE_UNKNOWN, should be ATK_ROLE_ALERT
 * <div role="article"> shows up as ATK_ROLE_UNKNOWN, should be ATK_ROLE_ARTICLE
 * <div role="definition"> shows up as ATK_ROLE_UNKNOWN, should be ATK_ROLE_DEFINITION
 * <div role="dialog"> shows up as ATK_ROLE_UNKNOWN, should be ATK_ROLE_DIALOG
 * <div role="document"> shows up as ATK_ROLE_UNKNOWN, should be ATK_ROLE_DOCUMENT_FRAME
 * <div role="log"> shows up as ATK_ROLE_UNKNOWN, should be ATK_ROLE_LOG
 * <div role="marquee"> shows up as ATK_ROLE_UNKNOWN, should be ATK_ROLE_MARQUEE
 * <div role="math"> shows up as ATK_ROLE_UNKNOWN, should be ATK_ROLE_MATH
 * <div role="menuitemcheckbox"> shows up as ATK_ROLE_UNKNOWN, should be ATK_ROLE_CHECK_MENU_ITEM
 * <div role="note"> shows up as ATK_ROLE_UNKNOWN, should be ATK_ROLE_COMMENT
 * <div role="region"> shows up as ATK_ROLE_UNKNOWN, should be ATK_ROLE_PANEL? (not clear yet, Joanie knows more about this)
 * <div role="status"> shows up as ATK_ROLE_UNKNOWN, should be ATK_ROLE_STATUSBAR
 * <div role="timer"> shows up as ATK_ROLE_UNKNOWN, should be ATK_ROLE_TIMER
 * <div role="tooltip"> shows up as ATK_ROLE_UNKNOWN, should be ATK_ROLE_TOOL_TIP


Some things to consider:
 * http://www.w3.org/TR/wai-aria-implementation/#mapping_role
 * http://lists.w3.org/Archives/Public/public-pfwg-comments/2013OctDec/0001.html

[1] https://bugzilla.gnome.org/show_bug.cgi?id=720065

-- 
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