[meta] Accessibility on TV

NEW
Unassigned

Status

Firefox OS
Gaia::TV
2 years ago
2 years ago

People

(Reporter: yifan, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
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.
(Reporter)

Updated

2 years ago
No longer depends on: 1199150
See Also: → bug 1199150
(Reporter)

Comment 1

2 years ago
Hi Yura, does the Accessibility test in marionette test include Web Components? Thank you!
Flags: needinfo?(yzenevich)
(Reporter)

Comment 2

2 years ago
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.
You need to log in before you can comment on or make changes to this bug.