Skip to content
Snippets Groups Projects
Commit 3dc1a5db authored by Emmanuel Schanzer's avatar Emmanuel Schanzer Committed by Marijn Haverbeke
Browse files

screenreader fixes

parent 12abb7c7
No related branches found
No related tags found
No related merge requests found
...@@ -66,6 +66,9 @@ export function buildLineContent(cm, lineView) { ...@@ -66,6 +66,9 @@ export function buildLineContent(cm, lineView) {
col: 0, pos: 0, cm: cm, col: 0, pos: 0, cm: cm,
trailingSpace: false, trailingSpace: false,
splitSpaces: (ie || webkit) && cm.getOption("lineWrapping")} splitSpaces: (ie || webkit) && cm.getOption("lineWrapping")}
// hide from accessibility tree
content.setAttribute("role", "presentation")
builder.pre.setAttribute("role", "presentation")
lineView.measure = {} lineView.measure = {}
// Iterate over the logical lines that make up this visual line. // Iterate over the logical lines that make up this visual line.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment