14 Commits

Author SHA1 Message Date
8be543bcc7 feat: testID property for use with e2e testing without interfering with a11y (#9793)
* fix(android): nested frames were sometimes not recreated (#9748)

Co-authored-by: Eduardo Speroni <edusperoni@gmail.com>

* feat: testID property for use with e2e testing without interfering with a11y

* feat: better testID support along a11y

wip

* fix: make sure we have a defined id

* feat: --env.e2e to enable testID

* chore: return if using testID

* chore: cleanup

Co-authored-by: Eduardo Speroni <edusperoni@gmail.com>
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2022-03-08 23:25:05 +01:00
2efcdf5787 fix(android): api17 crash on a11y service (#9792) 2022-03-01 12:32:39 -08:00
dbaf203a59 fix(android): a11y - do not provide content description for TextView elements (#9673)
Android accessibility services automatically announce the text itself as the description (see https://developer.android.com/guide/topics/ui/accessibility/apps#describe-ui-element)

If an a11y property is provided, the content description should also be set for TextView elements to keep the support for Labels/Buttons that only have a font icon as text and therefore need to have an accessibilityLabel.

Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>

closes #9588
2022-03-01 12:32:39 -08:00
dac36c6801 fix(a11y): add missing application event for fontScaleChanged (#9396) 2021-05-13 08:42:55 -07:00
7a92c1646f fix(a11y): font size (#9395) 2021-05-13 08:02:34 -07:00
0d4ccba60a chore: combine prettier with eslint (#9348) (#9360)
Co-authored-by: Martin Guillon <martin.guillon@akylas.fr>
2021-05-02 10:11:37 -07:00
9a407ce989 fix(a11y): ios voiceover crash during touch (#9318)
closes https://github.com/NativeScript/NativeScript/issues/9317
2021-04-09 08:35:00 -07:00
fde666de28 fix(android): accessibility crash on View not extending android.view.View (#9303) 2021-04-06 16:39:52 -07:00
ede1685ae2 chore: cleanup types 2021-04-06 11:18:36 -07:00
a822f2affb chore: a11y polish (#9259) 2021-04-06 11:18:36 -07:00
e9b5eb934d chore: cleanup a11y and add demo page 2021-04-06 11:18:36 -07:00
a67fb69687 chore: typing cleanup 2021-04-06 11:18:36 -07:00
19ce9fc2bf chore: box shadow updates (#9220) 2021-04-06 11:18:36 -07:00
d5a8a25aba feat(core): first class a11y support (#8909) 2021-04-06 11:18:36 -07:00