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.
2 parents 451bd4e + 4b8c0cb commit 64a7fd6Copy full SHA for 64a7fd6
ts/a11y/explorer/KeyExplorer.ts
@@ -834,7 +834,7 @@ export class SpeechExplorer
834
const parts = [
835
[
836
this.node.getAttribute('data-semantic-level') ?? 'Level',
837
- this.current.getAttribute('aria-level') ?? '0',
+ this.current.getAttribute('data-semantic-level-number') ?? '0',
838
]
839
.join(' ')
840
.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