File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/compiler/compile/nodes Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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">
Original file line number Diff line number Diff 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
3737const 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 ( ' ' ) ;
3838const aria_attribute_set = new Set ( aria_attributes ) ;
You can’t perform that action at this time.
0 commit comments