Commit 830b4b7
committed
feat(accessibility): Add
This commit introduces a new optional parameter `progressSemantic` to the `IntroductionScreen` widget. This parameter allows developers to provide a custom semantic label for the progress indicator (dots or custom progress).
If `progressSemantic` is provided, it will be used to generate the semantic label. Otherwise, a default label "Page {currentPage} of {totalPages}" will be used.
This change enhances accessibility by allowing developers to provide more contextually relevant information to users relying on screen readers.progressSemantic for customizable progress indicator semantics1 parent f878eba commit 830b4b7
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
202 | 205 | | |
203 | 206 | | |
204 | 207 | | |
| |||
324 | 327 | | |
325 | 328 | | |
326 | 329 | | |
| 330 | + | |
327 | 331 | | |
328 | 332 | | |
329 | 333 | | |
| |||
680 | 684 | | |
681 | 685 | | |
682 | 686 | | |
683 | | - | |
684 | | - | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
685 | 693 | | |
686 | 694 | | |
687 | 695 | | |
| |||
0 commit comments