Commit Graph
33 Commits
Author SHA1 Message Date
Marco Zehe 67b777a610 Bug 1396626 - Expose aria-haspopup tokens dialog, listbox, menu and tree as object attributes. r=surkov
MozReview-Commit-ID: 7iuo89tuGOu
2017-09-05 15:15:09 +02:00
Joanmarie Diggs dd1b3d84e8 Bug 1379098 - ARIA combobox should map to AXComboBox. r=marcoz
Create a new internal role EDITCOMBOBOX so that we can distinguish
comboboxes with a text input (which is the case for the ARIA role)
from those which consist of only a popup button and associated list
(which is the case for the select element with a size of 1). Also
change the type of ARIA combobox from kGenericAccType to eCombobox
so that IsCombobox() will return true for both EDITCOMBOBOX and
COMBOBOX. Lastly, call IsCombobox() rather than role() when assigning
internal roles to descendants of comboboxes and emitting accessibility
events.
2017-07-11 11:16:00 +02:00
Sebastian Hengst cc66b817d4 Backed out changeset ed18b5a361f9 (bug 1379098) for timing out in a11y's accessible/tests/mochitest/events/test_valuechange.html and browser-chrome's accessible/tests/browser/e10s/browser_caching_value.js. r=backout 2017-07-10 16:02:38 +02:00
Joanmarie Diggs 7844ae9389 Bug 1379098 - ARIA combobox should map to AXComboBox. r=marcoz
Create a new internal role EDITCOMBOBOX so that we can distinguish
comboboxes with a text input (which is the case for the ARIA role)
from those which consist of only a popup button and associated list
(which is the case for the select element with a size of 1). Also
change the type of ARIA combobox from kGenericAccType to eCombobox
so that IsCombobox() will return true for both EDITCOMBOBOX and
COMBOBOX. Lastly, call IsCombobox() rather than role() when assigning
internal roles to descendants of comboboxes.
2017-07-10 04:26:00 +02:00
Joanmarie Diggs 4ab238b1a9 Bug 1378160 - The ARIA region role should be exposed as a landmark; not a pane. r=MarcoZ
Create a new internal REGION role which maps to the generic landmark role
of each platform accessibility API. Update the internal mapping of region
from roles::PANE and kGenericAccType to roles::REGION and eLandmark. Also
change the AXSubrole of region from "AXDocumentRegion" to "AXLandmarkRegion",
the latter being what is specified in the Core AAM 1.1 and used in Safari.
2017-07-04 18:10:00 -04:00
Joanmarie Diggs 471573630f Bug 1356049 - Map ARIA figure role. r=marcoz
Add the figure role to the ARIA role map so that it's exposed on all
platforms. Expose "figure" as the AXRoleDescription for macOS.
2017-07-04 04:27:00 +02:00
Joanmarie Diggs 454c0a57d9 Bug 1355921 - Elements with a defined, non-false value for aria-current should expose ATK_STATE_ACTIVE. r=marcoz
Create states::CURRENT and add it to the list of "universal" (global)
ARIA states. Map states::CURRENT to ATK_STATE_ACTIVE and emit accessible
state-change notifications when the value of aria-current is modified.
2017-07-03 17:02:00 +02:00
Joanmarie Diggs 1d3acb199d Bug 1355954 - Focusable separators should implement the accessible value interface. r=MarcoZ
Add eHasValueMinMaxIfFocusable to the ARIA role map so that we can
take the accessible element's interactive state into account when
determining if the value interface should be supported.
2017-06-28 07:11:00 -04:00
Joanmarie Diggs 0e8a46a157 Bug 1374316 - Add aria-readonly to several roles as per ARIA 1.1. r=surkov
In ARIA 1.1, aria-readonly became a supported property of switch,
menuitemcheckbox, menuitemradio, and radiogroup.

aria-checked is not, and has not been, a supported property of menuitem.
This property should only be supported on checkable subclasses of the
ARIA menuitem role, namely menuitemcheckbox and menuitemradio.
2017-06-19 11:09:23 -04:00
Joanmarie Diggs d8a18ee045 Bug 1357042 - Implement or update support for exposure of aria-orientation. r=surkov
In ARIA 1.1, "undefined" was added as a possible value of aria-orientation,
and the default value for the combobox and treegrid roles. Therefore, remove
states::VERTICAL from the nsRoleMapEntry for these two roles and update the
associated mochitest expectations. The rest of the ARIA roles which support
aria-orientation have the correct defaults and test coverage.
2017-06-20 05:32:00 +02:00
Joanmarie Diggs 1ddaed2162 Bug 1373786 - Mapping of "article" role and element is incorrect for AX API and ATK. r=surkov 2017-06-16 16:07:23 -04:00
Joanmarie Diggs e719c9206c Bug 1358417 - Use ATK_ROLE_DESCRIPTION_TERM for "term" role and "dt" element. r=surkov 2017-06-16 14:02:55 -04:00
Joanmarie Diggs bb811f6e83 Bug 1343537 - Implement ARIA DPUB extension. r=surkov 2017-06-13 15:06:08 -04:00
Marco Zehe baa689aa95 Bug 1335734 - Make sure ARIA role 'directory' exposes the READONLY state so it doesn't get treated as a widget, r=surkov
MozReview-Commit-ID: 9J90gANe9Ib
2017-02-02 06:46:00 +01:00
Alexander Surkov 0b5b4c95d0 Bug 1310794 - implement aria-details and aria-errormessage, r=davidb 2016-10-25 13:51:27 -04:00
Alexander Surkov 6be876aa30 Bug 1294086 - implement ARIA feed role, r=yzen 2016-08-10 14:07:29 -04:00
Michael Li 7fbea07526 Bug 1285272 - Add functionality in ARIAMap to use integer index instead of a raw pointer for role map entries. r=yzen
MozReview-Commit-ID: 8FduVyUkJic
2016-07-18 11:52:44 -04:00
Nicholas Nethercote 1fe47515c3 Bug 1255655 - Const-ify sWAIRoleMaps. r=tbsaunde. 2016-03-11 13:13:01 +11:00
Alexander Surkov 3907ba7813 Bug 1251941 - aria::GetRoleMap should take element, r=davidb 2016-03-03 07:45:47 -05:00
Alexander Surkov 8a30c57bf3 Bug 1251712 - propagate a context flag for alerts, r=davdib 2016-02-29 10:08:40 -05:00
Alexander Surkov 8adaa3bc8e Bug 1173364 - support ARIA table and cell roles, r=marcoz 2015-06-25 11:59:06 -07:00
Marco Zehe b5587e9905 Bug 1149118 - Expose radio group with the correct role on OS X, r=surkov 2015-03-30 15:37:09 +02:00
Alexander Surkov 709188aedd Bug 1137714 - Make roleDescription nicer/correct/faster, r=marcoz 2015-02-28 17:25:06 -05:00
Marco Zehe 6af0417391 Bug 1121518 - ARIA 1.1: Add support for role 'searchbox', r=surkov 2015-02-27 15:41:57 +01:00
Marco Zehe d65fbb0646 Bug 1136563 - ARIA 1.1: Support role 'switch', r=surkov 2015-02-26 14:47:15 +01:00
Alexander Surkov 6158b2cb80 Bug 971212 - Implement ARIA role=none, r=davidb 2015-02-19 12:50:34 -05:00
Alexander Surkov 7e13f81c00 Bug 786143 - inherit aria-hidden through subtree, r=yzen 2015-02-04 18:33:33 -05:00
Alexander Surkov 41ce1e64fe Bug 1105273 - Accessibility mapping for aria-modal, r=davidb 2014-11-28 10:01:43 -05:00
Alexander Surkov be19c27102 Bug 1076816 - segregate XPCOM tree, r=davidb 2014-10-21 20:49:28 -04:00
Ehsan Akhgari acd6caf977 Bug 1079320 - Fix some more bad implicit constructors in accessible; r=tbsaunde 2014-09-24 09:16:53 -04:00
Georg Fritzsche eb5c2aafa5 Bug 1067989 - Unify some more binary search uses. r=waldo 2014-09-17 15:46:24 +02:00
Alexander Surkov 3003d0475d Bug 1020548 - update aria-orientation impl to ARIA 1.1, r=tbsaunde, sr=neil 2014-08-11 08:13:44 -04:00
Birunthan Mohanathas e551bc9312 Bug 1028563 - Part 1: Flatten accessible/src/ directory. rs=surkov 2014-06-22 10:15:19 -07:00