meganrogge
44d4ec83fc
revert change
2023-08-02 08:17:18 -07:00
meganrogge
33124a31bd
fix #4571
2023-08-02 08:14:16 -07:00
Megan Rogge
0ff06db417
bring back accessibility tree ( #4536 )
2023-05-22 21:17:25 +00:00
Megan Rogge
6daadc4c55
pull AccessibleBuffer out of AccessibilityManager ( #4400 )
2023-02-03 18:59:30 +00:00
Daniel Imms
d5b5f1a9a4
Clean up
2023-02-02 06:24:18 -08:00
Daniel Imms
a7e0a9c534
Remove old accessibility tree code
2023-02-02 06:17:32 -08:00
Daniel Imms
5839accbf1
Use is prefix for boolean prop/getter
2023-02-02 06:12:04 -08:00
Megan Rogge
01c9a98e8e
update accessibilityBufferActive on focusOut ( #4395 )
2023-02-01 20:57:52 +00:00
Megan Rogge
a9da61e605
accessibilityBuffer: textarea -> div & prevent mouse click from exiting ( #4389 )
2023-01-31 18:25:25 -06:00
Megan Rogge
377f88796f
append accessibility tree as child, not as adjacent elt to terminal ( #4383 )
2023-01-24 19:40:46 +00:00
Megan Rogge
ed6c849501
attach and detach accessibility tree root element ( #4382 )
2023-01-24 09:53:10 -06:00
Megan Rogge
5a21948b4a
make accessibility buffer readonly ( #4381 )
2023-01-23 19:03:19 +00:00
Megan Rogge
b24bda92ad
use textbox instead of div for accessibility buffer ( #4377 )
2023-01-20 17:36:25 +00:00
Megan Rogge
9895691e0e
use content editable ( #4376 )
2023-01-19 21:30:58 +00:00
Megan Rogge
77870b06b9
fix #4374 ( #4375 )
2023-01-19 16:49:53 +00:00
Daniel Imms
41dc93a008
Prototype improved a11y buffer view ( #4340 )
2023-01-18 23:00:21 +00:00
Daniel Imms
b3fb8db6b3
Replace dom helper with HTMLElement.remove()
2023-01-05 09:14:16 -08:00
Daniel Imms
0b5625581e
Merge pull request #4284 from JasonXJ/a11y-2
...
Fix a11y issues #4269
2022-12-16 08:57:55 -08:00
Daniel Imms
fc41968131
Allow scroll bar interaction in demo in screenReaderMode
...
Fixes #2757
2022-12-15 07:50:45 -08:00
Jason Lin
d177acccee
Fix a11y issues #4269
2022-12-02 18:35:09 +11:00
Daniel Imms
22e8a2f8e7
Remove old dimension properties
2022-10-15 18:07:05 -07:00
Daniel Imms
5d8e4a0af4
Add lint rule to ensure _on prefix is only for event emitters
2022-10-08 11:05:52 -07:00
Daniel Imms
ac659cb412
Prevent overriding of Disposable.dispose
...
A common mistake made was overriding dispose and not calling super.dispose,
so a TS trick is now used to move it to a readonly property instead of a
member method which prevents it being overridden.
2022-10-08 08:27:10 -07:00
Mihai Parparita
a39a468f19
Make terminal rendering work in popout windows
...
Add support for the parent element (what is passed to Terminal.open)
being in a different (same origin) window. Accesses to DOM APIs such
as requestAnimationFrame and devicePixelRatio thus need to be scoped
to the corrent window, instead of assuming that it's the same as the
window/global scope where the code is running.
This is done by inferring a parent window at the creation time, and
then storing it in CoreBrowserService, which is already passed to most
places that need it.
To catch future regressions, an ESLint rule that checks for global
accesses is added (it uses AST selectors via the no-restricted-syntax
rule).
This should also be applicable when the parent element is an iframe.
Fixes #3758
2022-09-08 16:59:31 -07:00
meganrogge
b3d9104136
Revert "Add document role to accessibility tree root"
...
This reverts commit 3a71b3f11e .
2022-02-22 14:33:30 -06:00
Daniel Imms
1304fd8a72
Add tabIndex to xterm-accessibility
...
See microsoft/vscode#135920
2021-12-09 20:30:38 +00:00
Daniel Imms
3a71b3f11e
Add document role to accessibility tree root
...
See microsoft/vscode#98918
2021-09-22 14:21:50 -07:00
Samuel Sampson
f1849cafaf
Introduce IRenderDebouncer interface, unifying RenderDebouncer and TimeBasedDebouncer types
2021-08-17 20:50:47 +00:00
Samuel Sampson
e82f475c9b
Separate the regular render debouncer from a Time-Based debouncer to be used to update Screen Readers
2021-07-29 19:57:51 +00:00
Daniel Imms
f52d631fa4
Add eslint type assertions rule
...
Fixes #3359
2021-06-04 06:23:12 -07:00
Johannes Rieken
b2c4ed638b
fix bad none-breaking whitespace
2020-12-09 09:08:14 +00:00
Johannes Rieken
64ac67026a
avoid innerHTML usages
2020-12-02 16:25:19 +00:00
Katerina Koukiou
9616851e52
Fix a11y violation because of using role='listitem' without role='list' parent
2020-11-10 16:36:59 +01:00
Daniel Imms
a32776e2af
Move role=document to xterm element
...
Feedback in microsoft/vscode#98918 said this could improve the UX on
screen readers
2020-09-15 10:33:28 -07:00
Daniel Imms
03df0565bd
Use document role instead of list
...
See microsoft/vscode#98918
2020-07-29 05:29:30 -07:00
Daniel Imms
15f1759580
Introduce removeElementFromParent helper
2020-06-04 07:20:59 -07:00
Daniel Imms
bdb438972f
Fix errors in Terminal and elsewhere
...
This was mostly ! to compel TS, we should actually fix this down the road
but that can come later.
2020-04-26 10:44:44 -07:00
Daniel Imms
f256206fd4
Move Terminal and AccessibilityManager into browser
2020-04-26 10:18:05 -07:00