Skip to content

wrapped lines w screen reader - #163229

Merged
Alexandru Dima (alexdima) merged 33 commits into
mainfrom
merogge/acc
Oct 21, 2022
Merged

Alexandru Dima (alexdima) merged 33 commits into
mainfrom
merogge/acc

Conversation

@meganrogge

@meganrogge Megan Rogge (meganrogge) commented Oct 10, 2022 •

Copy link
Copy Markdown
Collaborator

Fixes #95428

  • when a screen reader is attached, the editor is forced to compute wrapping points using the advanced strategy (the one using the DOM) and without any wrapping indent.
  • wrapping is then also enabled in the textarea and the idea is that the textarea's wrapping points will match the editor's wrapping points.
  • there are many details to get right, such as the tab size in the textarea, scrolling it such that VoiceOver's thick black box lines up with the editor content, turning wrapping off when IME is active, etc.

@meganrogge Megan Rogge (meganrogge) added this to the October 2022 milestone Oct 11, 2022
@meganrogge Megan Rogge (meganrogge) removed this from the October 2022 milestone Oct 18, 2022
@alexdima

Copy link
Copy Markdown
Member

I've extracted some of the commits to #164030

@alexdima
Alexandru Dima (alexdima) marked this pull request as ready for review October 19, 2022 14:48
@alexdima
Alexandru Dima (alexdima) deleted the merogge/acc branch October 21, 2022 10:27
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Word wrap should not be disabled when accessibility is turned on

3 participants