Skip to content

Commit 3b3bdce

Browse files
authored
Merge pull request #1078 from mathjax/filter-aria-owns
Filter aria-owns attributes from SRE
2 parents 103f5a6 + e7abb0d commit 3b3bdce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ts/ui/menu/MmlVisitor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export class MmlVisitor<N, T, D> extends SerializedMmlVisitor {
111111
}
112112
if (this.options.filterSRE) {
113113
const keys = Object.keys(list).filter(
114-
id => id.match(/^(?:data-semantic-.*?|role|aria-(?:level|posinset|setsize))$/)
114+
id => id.match(/^(?:data-semantic-.*?|role|aria-(?:level|posinset|setsize|owns))$/)
115115
);
116116
for (const key of keys) {
117117
delete list[key];

0 commit comments

Comments
 (0)