Feature/a11y webform stepcounter
See ticket [A11y] WebformStepCounter en ARIA for more information
Changes
The screenreader is now giving step 1 of the 3 instead of just saying 1
how has this been tested
Screenreader test and with the uncinc cloud with yalc. For the translation if that is working correct
With yalc I tested if the location with the translation is working and if its not working it will use the hardcoded text. when the first item in the array is not found it will go in to the second item.
full code
aria-label={t(['webform.components.stepcounter.aria_label', `stap ${key + 1} van de ${pages.size}`], { number: key + 1, pagesize: pages.size })}
Edited by Yu Jing van Gerwen