屏幕閱讀器將如何處理的情況下,你有aria-live
和aria-atomic
另一個元素裏面有aria-live
和aria-atomic
和含量的變化嵌套元素中的元素?如何屏幕閱讀器處理嵌套唱段,現場與詠歎調原子
它會讀取兩節,讀取嵌套節兩次?
HTML:
<div aria-live="polite" aria-atomic="true">
Here is some text, <span>this itself may change</span>. It is a large section of the page
<div aria-live="polite" aria-atomic="true">
This is another part of the page that may change, it is also large. <span>This part may change too</span>
</div>
</div>
我想問的原因是因爲我使用AngularJS做出一個需要符合ADA一個SPA。該網站有一個嵌套的佈局方案,頁面的內部部分將被更改而不更改外部部分,但外部部分可能會更改一個點。理想情況下,我希望只有內部部分在更改時才能被讀取。當外部部分改變時,它會讀取所有內容,一次。
會不使用它變化基於特定的屏幕閱讀器的處理方式? – RacerNerd
我曾希望會有某種標準,或者有人能夠注意到這種情況下不同流行的閱讀內容。 – TheSharpieOne