Closed Bug 1199544 Opened 9 years ago Closed 6 years ago

[meta] Accessibility on TV

Categories

(Firefox OS Graveyard :: Gaia::TV, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: yifan, Unassigned)

References

Details

Accessibility should be addressed and implemented on TV. Currently it is not defined in TV specs. Components and apps should follow Accessibility requirements and the Accessibility marionette test flag should be enabled.
No longer depends on: 1199150
See Also: → 1199150
Hi Yura, does the Accessibility test in marionette test include Web Components? Thank you!
Flags: needinfo?(yzenevich)
Hi Yura, another question is, what kind of test will be performed when raisesAccesibilityExceptions is set:

  desiredCapabilities: { raisesAccessibilityExceptions: true }

Thank you!
(In reply to yifan [:yifan][:yliao] from comment #1)
> Hi Yura, does the Accessibility test in marionette test include Web
> Components? Thank you!

Hi Yifan, so at the moment web components are not supported in marionette but I am working on that (see bug 1194224). But once that bug lands, shadow DOM stuff will be able to be tested the same way other content is.
Flags: needinfo?(yzenevich)
(In reply to yifan [:yifan][:yliao] from comment #2)
> Hi Yura, another question is, what kind of test will be performed when
> raisesAccesibilityExceptions is set:
> 
>   desiredCapabilities: { raisesAccessibilityExceptions: true }
> 
> Thank you!

So you don't actually need to write tests specific to accessibility. If you already have marionette tests, or planning to write them, the flag will run additional tests wherever it is enabled. It means that whenever in your test you are calling click or tap on an element, we will check if the element is also accessible (e.g. you can do the same thing with the screen reader). In addition to that, we will do additional checks whenever you test for something being visible, enabled, etc. So to summarize, nothing special needs to be done for accessibility (just make sure the flag is set to true), you just need to have normal marionette tests, and with the flag a11y will be checked.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.