Skip to content

Commit 80e7556

Browse files
Update site/content/docs/05-accessibility-warnings.md
Co-authored-by: Yuichiro Yamashita <[email protected]>
1 parent 7734f31 commit 80e7556

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

site/content/docs/06-accessibility-warnings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ There are two supported ways to associate a label with a control:
141141
<label>A</label>
142142
```
143143

144-
If your label and input are Svelte components, you can configure the rule to be aware of your custom components.
144+
If your label and input are Svelte components, you can configure the rule to be aware of your Svelte components.
145145

146146
```svelte
147147
<CustomInputLabel label="Surname">

src/compiler/compile/nodes/Element.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ import {
3131
is_interactive_roles,
3232
is_hidden_from_screen_reader,
3333
is_semantic_role_element,
34-
may_contain_input_child,
35-
} from "../utils/a11y";
34+
may_contain_input_child
35+
} from '../utils/a11y';
3636

3737
const aria_attributes = 'activedescendant atomic autocomplete busy checked colcount colindex colspan controls current describedby description details disabled dropeffect errormessage expanded flowto grabbed haspopup hidden invalid keyshortcuts label labelledby level live modal multiline multiselectable orientation owns placeholder posinset pressed readonly relevant required roledescription rowcount rowindex rowspan selected setsize sort valuemax valuemin valuenow valuetext'.split(' ');
3838
const aria_attribute_set = new Set(aria_attributes);

0 commit comments

Comments
 (0)