Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build Accessibility Tree from scene (#12074)
* Build Accessibility Tree from scene: 1) build DOM tree for static objects, and 2) (partially completed) make DOM nodes interactive for actionable nodes. * Rename classes. (Remake) * Enable HTML Twin building for GUI; enable dynamic update when scene change (node add/remove, enable/disable, control add/remove, visible/invisible) * Create package for accessibility. * Fix accessibility tree update for parent enable/disable. * Use 'onControlRemovedObservable' and 'onControlAddedObservable' instead of 'onControlAddedOrRemovedObservable' * Move AccessibilityTag to it's own file, and add onAccessibilityTagChangedObservable . * Make accessibilityTag nullable. * Move package from dev to tools. * Remove isSalient in IAccessibilityTag. * Add aria to IAccessibilityTag to allow override rendering accessibility behavior. * Add README.md * Add types restriction! * Adjust renderer to take customized aria and event handler. * Add ES6 and UMD packages. # Conflicts: # package-lock.json * Fix build error. * Fix build error: remove redundant blank space. * Fix build error: edit gitignore. * Fix formatting. * Fix lint error. * Refine eventHandler interface. * Refine from comment: click and right click -> triggerEvent(). * Fix comment and formating. * Add example scenes to README. * Fix comment: add pointer position to onPointerClick observer; dispose tree when scene is disposed. * Fix comments. * Fix comment * Revert package-lock.json * Revert package-lock.json again * Fix some comments. Rename packages and classes. * Fix formatting * Fix README typos and fix formatting. * Render html twin inside canvas. * Some README typo fix that I missed two commits ago. * [trivial] revert change. * Revert package-lock.json, remove redundant comments. * Make package-lock.json same as master branch. * Update package-lock.json and format fix. Co-authored-by: Sunny Zhang <[email protected]>
- Loading branch information