The Document Object Model (DOM) is a standard interface that represents a web document’s elements and text as a tree of objects. Browsers and programs use it to inspect or change page content.
The DOM is not the same as the rendered screen or the accessibility tree provided to assistive technology.