Skip to content
  • mario@webkit.org's avatar
    2011-03-30 Mario Sanchez Prada <msanchez@igalia.com> · 56f6bf20
    mario@webkit.org authored
            Reviewed by Chris Fleizach.
    
            AX: GTK: ARIA role is not respected on <p> <label> <div> and <form>
            https://bugs.webkit.org/show_bug.cgi?id=47636
    
            Added new layout test to check that roles are correct in GTK.
    
            * platform/gtk/accessibility/aria-roles-unignored-expected.txt: Added.
            * platform/gtk/accessibility/aria-roles-unignored.html: Added.
    2011-03-30  Mario Sanchez Prada  <msanchez@igalia.com>
    
            Reviewed by Chris Fleizach.
    
            AX: GTK: ARIA role is not respected on <p> <label> <div> and <form>
            https://bugs.webkit.org/show_bug.cgi?id=47636
    
            Define new roles in WebCore and map them to ATK accordingly.
    
            Test: platform/gtk/accessibility/aria-roles-unignored.html
    
            * accessibility/AccessibilityObject.h: Added new roles to
            represent paragraphs, labels, forms and div sections.
            * accessibility/AccessibilityRenderObject.cpp:
            (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
            Return ParagraphRole, LabelRole, FormRole and DivRole when needed
            for the GTK platform only.
            * accessibility/gtk/AccessibilityObjectAtk.cpp:
            (WebCore::AccessibilityObject::allowsTextRanges): Consider the new
            roles now that those kind of nodes won't return true to isGroup().
            * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
            (atkRole): Map new WebCore roles to ATK Roles.
            (webkit_accessible_get_role): Remove code to define roles for
            paragraphs, labels, forms and divs based on node's tag name.
    
            Update mappings for the Mac platform.
    
            * accessibility/mac/AccessibilityObjectWrapper.mm:
            (createAccessibilityRoleMap): Add explicit mappings from the new
            roles introduced to NSAccessibilityGroupRole.
    2011-03-30  Mario Sanchez Prada  <msanchez@igalia.com>
    
            Reviewed by Chris Fleizach.
    
            AX: GTK: ARIA role is not respected on <p> <label> <div> and <form>
            https://bugs.webkit.org/show_bug.cgi?id=47636
    
            Duplicate new internal WebCore roles in the Chromium port.
    
            * public/WebAccessibilityRole.h: Update enumeration
            WebAccessibilityRole to reflect newly added roles in WebCore.
            * src/AssertMatchingEnums.cpp: Added new assertions.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82459 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    56f6bf20