Skip to content

Commit 87a8e6f

Browse files
committed
add support for ariaBrailleLabel and ariaBrailleRoleDescription
1 parent 87b2d27 commit 87a8e6f

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ In addition to form controls, `ElementInternals` will also surface several acces
9797

9898
- `ariaAtomic`: 'aria-atomic'
9999
- `ariaAutoComplete`: 'aria-autocomplete'
100+
- `ariaBrailleLabel`: 'aria-braillelabel'
101+
- `ariaBrailleRoleDescription`: 'aria-brailleroledescription'
100102
- `ariaBusy`: 'aria-busy'
101103
- `ariaChecked`: 'aria-checked'
102104
- `ariaColCount`: 'aria-colcount'

jsdom-tests/polyfill.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
const aom = {
2121
ariaAtomic: 'aria-atomic',
2222
ariaAutoComplete: 'aria-autocomplete',
23+
ariaBrailleLabel: 'aria-braillelabel',
24+
ariaBrailleRoleDescription: 'aria-brailleroledescription',
2325
ariaBusy: 'aria-busy',
2426
ariaChecked: 'aria-checked',
2527
ariaColCount: 'aria-colcount',

src/aom.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import { IAom, IElementInternals } from './types.js';
44
export const aom: IAom = {
55
ariaAtomic: 'aria-atomic',
66
ariaAutoComplete: 'aria-autocomplete',
7+
ariaBrailleLabel: 'aria-braillelabel',
8+
ariaBrailleRoleDescription: 'aria-brailleroledescription',
79
ariaBusy: 'aria-busy',
810
ariaChecked: 'aria-checked',
911
ariaColCount: 'aria-colcount',

src/element-internals.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ import { patchFormPrototype } from './patch-form-prototype.js';
3030
export class ElementInternals implements IElementInternals {
3131
ariaAtomic: string;
3232
ariaAutoComplete: string;
33+
ariaBrailleLabel: string;
34+
ariaBrailleRoleDescription: string;
3335
ariaBusy: string;
3436
ariaChecked: string;
3537
ariaColCount: string;

src/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import { ElementInternals } from './element-internals.js';
44
export interface IAom {
55
ariaAtomic: string;
66
ariaAutoComplete: string;
7+
ariaBrailleLabel: string;
8+
ariaBrailleRoleDescription: string;
79
ariaBusy: string;
810
ariaChecked: string;
911
ariaColCount: string;

0 commit comments

Comments
 (0)