WebAIM - Web Accessibility In Mind

E-mail List Archives

Insertion of content into documents.

for

From: Murphy, Sean
Date: Jan 5, 2020 7:53PM


All,

I have a general query on the result of inserting new content into the DOM for Jaws, NVDA or Voiceover on how they handle the change. As there are a lot of web pages which do not correctly handle insertion of content. For example, if information is inserted at the bottom of the DOM, and the focus is not moved. The user is not aware of this change. Likewise, if content is inserted in the middle of the DOM, the same behaviour might occur. I am aware ARIA helps here, but isn't necessarily the correct approach. Other than the ARIA best practice doc, is there any other resources out there which provide good examples of handling DOM insertion correctly?

Such as floating panels, page content being updated due to an user action, new text being inserted, ETC. The possibilities are endless.

Any guidance on this is more than welcomed.

Sean