We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afaf1ea commit 4b8c0cbCopy full SHA for 4b8c0cb
ts/a11y/explorer/KeyExplorer.ts
@@ -829,7 +829,7 @@ export class SpeechExplorer
829
const parts = [
830
[
831
this.node.getAttribute('data-semantic-level') ?? 'Level',
832
- this.current.getAttribute('aria-level') ?? '0',
+ this.current.getAttribute('data-semantic-level-number') ?? '0',
833
]
834
.join(' ')
835
.trim(),
ts/a11y/semantic-enrich.ts
@@ -209,6 +209,7 @@ export function EnrichedMathItemMixin<
209
//
210
math.math = math.math
211
.replace(/ role="treeitem"/g, ' data-speech-node="true"')
212
+ .replace(/ aria-level/g, ' data-semantic-level-number')
213
.replace(/ aria-(?:posinset|owns|setsize)=".*?"/g, '');
214
math.display = this.display;
215
math.compile(document);
0 commit comments