Skip to content

Commit e7abb0d

Browse files
committed
Filter aria-owns attributes from SRE
1 parent e13e13c commit e7abb0d

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)