Bug 210121

Summary: AX: Change ATK mapping of the ARIA alert and alertdialog roles
Product: WebKit Reporter: Joanmarie Diggs <jdiggs>
Component: AccessibilityAssignee: Joanmarie Diggs <jdiggs>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, apinheiro, cfleizach, dmazzoni, ews-watchlist, jcraig, samuel_white, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: Linux   
Attachments:
Description Flags
Patch none

Description Joanmarie Diggs 2020-04-07 09:35:11 PDT
In ARIA, an alertdialog is a type of dialog; an alert is not a type of dialog but rather a live region.
    
In ATK an alert is a type of dialog which should be used for things like warning dialogs. Thus this platform role is well suited for the ARIA alertdialog role, but ill suited for the ARIA alert role.

As a result of the above, the Core-AAM specification has been updated:

    * alertdialog: ATK_ROLE_ALERT rather than ATK_ROLE_DIALOG
    * alert: ATK_ROLE_NOTIFICATION rather than ATK_ROLE_ALERT
    
See https://w3c.github.io/core-aam/#mapping_role_table
Comment 1 Radar WebKit Bug Importer 2020-04-07 09:35:22 PDT
<rdar://problem/61396168>
Comment 2 Joanmarie Diggs 2020-04-07 11:11:08 PDT
Created attachment 395711 [details]
Patch
Comment 3 Joanmarie Diggs 2020-04-07 13:09:22 PDT
Comment on attachment 395711 [details]
Patch

Chris: When you have a spare moment, a review would be appreciated. Thanks!
Comment 4 EWS 2020-04-07 14:14:21 PDT
Committed r259671: <https://trac.webkit.org/changeset/259671>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 395711 [details].