Skip to content

Commit bd03c70

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

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
@@ -153,7 +153,7 @@ There are two supported ways to associate a label with a control:
153153
<label>A</label>
154154
```
155155

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

158158
```svelte
159159
<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)