Merge pull request #4284 from JasonXJ/a11y-2

Fix a11y issues #4269
This commit is contained in:
Daniel Imms
2022-12-16 08:57:55 -08:00
committed by GitHub
3 changed files with 15 additions and 6 deletions
+4 -1
View File
@@ -246,7 +246,10 @@ export class AccessibilityManager extends Disposable {
private _handleKey(keyChar: string): void {
this._clearLiveRegion();
this._charsToConsume.push(keyChar);
// Only add the char if there is no control character.
if (!/\p{Control}/u.test(keyChar)) {
this._charsToConsume.push(keyChar);
}
}
private _refreshRows(start?: number, end?: number): void {