Closed
Bug 1191432
Opened 9 years ago
Closed 9 years ago
[Accessibility] Improve accessibility coverage for marionette accessibility checks.
Categories
(Remote Protocol :: Marionette, defect)
Remote Protocol
Marionette
Tracking
(firefox42 affected, firefox43 fixed)
RESOLVED
FIXED
mozilla43
People
(Reporter: yzen, Assigned: yzen)
References
Details
(Keywords: access)
Attachments
(1 file)
16.03 KB,
patch
|
automatedtester
:
review+
|
Details | Diff | Splinter Review |
Marionette already has a number of accessibility checks that can trigger test failures if 'raisesAccessibilityExceptions' capability is enabled. The coverage however can be improved on the marionette server side. Here are some of the items that should be implemented: * Add missing actionable elements to the list (including ARIA 1.1) - switch and rowheader. Switch is already used by gaia-switch web component. * Check for keyboard accessibility using STATE_FOCUSABLE verification. All elements that are actionable should also be focusable. * Elements that the user can send keys to should also be actionable. It means that they should have an appropriate accessible role, name, actions count and be focusable. * Improve testing for elements enabled state from the accessibility standpoint. At the moment we only test if the accessible's STATE_UNAVAILABLE is in sync with the DOM element's disabled state. We only do it when is_enabled is called on the element. We should also check if the above states are in sync with element's computed pointer-events style. We should also if element is enabled to accessibility API on click (since we already do that in general case). * Ensure we check SELECTED accessibility state when we check if element is selected.
Assignee | ||
Comment 1•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=177710cb405f
Attachment #8644349 -
Flags: review?(dburns)
Comment 2•9 years ago
|
||
Comment on attachment 8644349 [details] [diff] [review] 1191432 patch v1 Review of attachment 8644349 [details] [diff] [review]: ----------------------------------------------------------------- This looks good! In future could I ask that marionette patches use MozReview? http://mozilla-version-control-tools.readthedocs.org/en/latest/mozreview.html
Attachment #8644349 -
Flags: review?(dburns) → review+
Assignee | ||
Comment 3•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/9eeddf4d34ea
Comment 4•9 years ago
|
||
Backed out for various Gij failures all over the place. Please verify that this is green on Try before re-pushing. https://hg.mozilla.org/integration/mozilla-inbound/rev/8e1e749c21bf
Comment 5•9 years ago
|
||
Comment on attachment 8644349 [details] [diff] [review] 1191432 patch v1 Review of attachment 8644349 [details] [diff] [review]: ----------------------------------------------------------------- ::: testing/marionette/listener.js @@ +1608,5 @@ > + } else { > + utils.sendKeysToElement(curFrame, el, val, sendOk, sendError, command_id); > + } > + } catch (e) { > + sendError(e, command_id); Why did you remove the try…catch here? This will silently discard errors thrown by the code in this function because listener.js does not (yet) have automatically wrap command implementations.
Comment 6•9 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #4) > Backed out for various Gij failures all over the place. Please verify that > this is green on Try before re-pushing. For future reference, a useful try syntax to use when testing Marionette changes is this: % echo $trymarionette -b o -p linux,linux64_gecko -u marionette,marionette-e10s,web-platform-tests-1,marionette-webapi,gaia-ui-test-functional,gaia-integration -t none
Assignee | ||
Comment 7•9 years ago
|
||
(In reply to Andreas Tolfsen (:ato) from comment #6) > (In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #4) > > Backed out for various Gij failures all over the place. Please verify that > > this is green on Try before re-pushing. > > For future reference, a useful try syntax to use when testing Marionette > changes is this: > > % echo $trymarionette > -b o -p linux,linux64_gecko -u > marionette,marionette-e10s,web-platform-tests-1,marionette-webapi,gaia-ui- > test-functional,gaia-integration -t none Ah, thanks, I did not get the gaia stuff included!
Assignee | ||
Comment 8•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a8bac8b79301
Assignee | ||
Comment 9•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=4792c7882ab0
Assignee | ||
Comment 10•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a3a9af4abb4d
Assignee | ||
Comment 11•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/d8159e66db6c
Comment 12•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d8159e66db6c
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox43:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Comment 13•9 years ago
|
||
Backed out in https://hg.mozilla.org/mozilla-central/rev/8a6045d14d6b
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 15•9 years ago
|
||
Relanded in https://hg.mozilla.org/mozilla-central/rev/ba43a48d3c52
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
Comment 16•9 years ago
|
||
My apologies but this seems to be causing issues still. I'm backing it out for now. :/
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 17•9 years ago
|
||
(In reply to Aus Lacroix [:aus] from comment #16) > My apologies but this seems to be causing issues still. I'm backing it out > for now. :/ Are there some details about the issues by chance? Are they on b2g-ibound or gaia-master ?
Flags: needinfo?(aus)
Assignee | ||
Updated•9 years ago
|
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
Updated•1 year ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•