Daniel Imms
057abba08b
mjs and js
2024-07-05 11:48:42 -07:00
Daniel Imms
12e5841959
Fix lint
2024-06-04 05:30:54 -07:00
Jason Lin
26dc69446e
Align character position in a11y tree with the actual rendering
...
This helps screen readers to draw selection outline at the correct
position.
2023-11-10 21:21:50 +11:00
Jason Lin
a0da287b9c
Use the right document in AccessibilityManager.ts
2023-11-09 16:57:58 +11:00
Daniel Imms
5630239a6d
Merge remote-tracking branch 'upstream/master' into pr/JasonXJ/4742
2023-11-03 08:47:05 -07:00
Daniel Imms
20a26a6589
Remove unused imports
2023-10-17 10:54:29 -07:00
Daniel Imms
81e0718a74
Move window resize edge case into dpr monitor
2023-10-17 09:18:46 -07:00
Daniel Imms
6e12d94f11
Move window resize listeners over to onWindowChange
2023-10-17 09:10:04 -07:00
Daniel Imms
4cc51ca08f
Move ScreenDprMonitor into CoreBrowserService
2023-10-17 08:55:07 -07:00
Daniel Imms
63790f8854
Change ScreenDprMonitor to be event based
2023-10-17 08:49:28 -07:00
Daniel Imms
45605db3c5
Listen to window change and pass through to ScreenDprMonitor
2023-10-17 08:39:48 -07:00
Daniel Imms
c80453f602
Use correct document when creating elements
2023-10-16 11:09:36 -07:00
Jason Lin
c3aa63cffa
translateToString() adds one more entry to outColumns
...
Previously, for string 'ab好', outColumns=[0, 1, 2]. Now it becomes [0,
1, 2, 4]. This allows the user to know where does the last character
ends.
2023-10-11 16:23:03 +11:00
Jason Lin
1b940de0bf
Allow selection in the a11y tree and sync the selection to terminal
2023-10-11 16:23:03 +11:00
Megan Rogge
f69fcb971c
get voiceover to announce terminal output consistently ( #4789 )
...
* fix #3247
* rm import
2023-09-11 13:03:57 -05:00
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