I have an angular app in which I am setting the titles of each page using the $stateChangeSuccess
event handler. The titles are changing fine when I change the page.
Problem: From an accessibility standpoint, when a user changes the page in my app, the new title should be read out loud so he/she knows what page he is on. However, as this is a single page app, the title is not re-read by the screen reader.
I have read other questions on Stack Overflow regarding screen readers but they don't answer my question.
Please help. Thanks.
为此,您可以使用aria-label
指令,如看到这里 ,然后修改元素的可见性时,它需要出现。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.