Bug 1857553 - [a11y] Mark up the Review Checker highlights as lists.
commit6c18d6d331c46f12256b3b1347d8ad4672b3fe2d
authorRebecaTudor <rebecatudor273@gmail.com>
Mon, 11 Dec 2023 08:58:19 +0000 (11 10:58 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 13 Dec 2023 18:41:12 +0000 (13 18:41 +0000)
tree46176777a11dcc0e4f647673674cf4ebf9208b5d
parent0defeaa1c7c5c12a0ec9ecddee7932b9fa8410ab
Bug 1857553 - [a11y] Mark up the Review Checker highlights as lists.

Before, when the screen reader was used, all highlights were announced
as static texts.

Now by using collectionInfo and collectionItemInfo, informations like
location and the position of the highlight in the list and the size
of the list are announced for each category of highlights and for each
highlight.
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/shopping/ui/ProductAnalysis.kt