A common situation of applying accessibilities to DOM nodes is that I want to make some node unreachable, like a layer of watermarks. If a DOM node can be easily removed, watermarks have lost its meanings.
Perhaps, a DOM node may have some accessibilities like:
- mountable: to specify whether a DOM node can be mounted or unmounted.
- readable: to specify whether any properties of a DOM node can be accessed like its style, position, etc.
writable: to specify whether a DOM node can be inserted child nodes.