You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -178,7 +178,7 @@ Any use of third-party trademarks or logos are subject to those third-party's po
178
178
|[avoid-using-aria-describedby-for-primary-labelling](docs/rules/avoid-using-aria-describedby-for-primary-labelling.md)| aria-describedby provides additional context and is not meant for primary labeling. | ✅ |||
|[breadcrumb-needs-labelling](docs/rules/breadcrumb-needs-labelling.md)| All interactive elements must have an accessible name | ✅ |||
181
-
|[card-needs-accessible-name](docs/rules/card-needs-accessible-name.md)| Accessibility: Interactive Card must have an accessible name via aria-label, aria-labelledby, etc. | ✅ |||
181
+
|[card-needs-accessible-name](docs/rules/card-needs-accessible-name.md)| Accessibility: Interactive Card must have an accessible name via aria-label, aria-labelledby, etc. | ✅ ||🔧|
182
182
|[checkbox-needs-labelling](docs/rules/checkbox-needs-labelling.md)| Accessibility: Checkbox without label must have an accessible and visual label: aria-labelledby | ✅ |||
183
183
|[colorswatch-needs-labelling](docs/rules/colorswatch-needs-labelling.md)| Accessibility: ColorSwatch must have an accessible name via aria-label, Tooltip, aria-labelledby, etc.. | ✅ |||
184
184
|[combobox-needs-labelling](docs/rules/combobox-needs-labelling.md)| All interactive elements must have an accessible name | ✅ |||
@@ -190,24 +190,24 @@ Any use of third-party trademarks or logos are subject to those third-party's po
190
190
|[emptyswatch-needs-labelling](docs/rules/emptyswatch-needs-labelling.md)| Accessibility: EmptySwatch must have an accessible name via aria-label, Tooltip, aria-labelledby, etc.. | ✅ |||
191
191
|[field-needs-labelling](docs/rules/field-needs-labelling.md)| Accessibility: Field must have label | ✅ |||
192
192
|[image-button-missing-aria](docs/rules/image-button-missing-aria.md)| Accessibility: Image buttons must have accessible labelling: title, aria-label, aria-labelledby, aria-describedby | ✅ |||
193
-
|[image-needs-alt](docs/rules/image-needs-alt.md)| Accessibility: Image must have alt attribute with a meaningful description of the image. If the image is decorative, use alt="". | ✅ |||
193
+
|[image-needs-alt](docs/rules/image-needs-alt.md)| Accessibility: Image must have alt attribute with a meaningful description of the image. If the image is decorative, use alt="". | ✅ ||🔧|
194
194
|[imageswatch-needs-labelling](docs/rules/imageswatch-needs-labelling.md)| Accessibility: ImageSwatch must have an accessible name via aria-label, Tooltip, aria-labelledby, etc.. | ✅ |||
195
-
|[infolabel-needs-labelling](docs/rules/infolabel-needs-labelling.md)| Accessibility: InfoLabel must have an accessible name via aria-label, text content, aria-labelledby, etc. | ✅ |||
195
+
|[infolabel-needs-labelling](docs/rules/infolabel-needs-labelling.md)| Accessibility: InfoLabel must have an accessible name via aria-label, text content, aria-labelledby, etc. | ✅ ||🔧|
196
196
|[input-components-require-accessible-name](docs/rules/input-components-require-accessible-name.md)| Accessibility: Input fields must have accessible labelling: aria-label, aria-labelledby or an associated label | ✅ |||
197
197
|[link-missing-labelling](docs/rules/link-missing-labelling.md)| Accessibility: Image links must have an accessible name. Add either text content, labelling to the image or labelling to the link itself. | ✅ || 🔧 |
198
-
|[menu-button-needs-labelling](docs/rules/menu-button-needs-labelling.md)| Accessibility: MenuButton must have an accessible name via aria-label, text content, aria-labelledby, etc. | ✅ |||
198
+
|[menu-button-needs-labelling](docs/rules/menu-button-needs-labelling.md)| Accessibility: MenuButton must have an accessible name via aria-label, text content, aria-labelledby, etc. | ✅ ||🔧|
199
199
|[menu-item-needs-labelling](docs/rules/menu-item-needs-labelling.md)| Accessibility: MenuItem without label must have an accessible and visual label: aria-labelledby | ✅ |||
200
200
|[no-empty-buttons](docs/rules/no-empty-buttons.md)| Accessibility: Button, ToggleButton, SplitButton, MenuButton, CompoundButton must either text content or icon or child component | ✅ |||
201
201
|[no-empty-components](docs/rules/no-empty-components.md)| FluentUI components should not be empty | ✅ |||
202
202
|[prefer-aria-over-title-attribute](docs/rules/prefer-aria-over-title-attribute.md)| The title attribute is not consistently read by screen readers, and its behavior can vary depending on the screen reader and the user's settings. || ✅ | 🔧 |
203
203
|[prefer-disabledfocusable-over-disabled](docs/rules/prefer-disabledfocusable-over-disabled.md)| Prefer 'disabledFocusable' over 'disabled' when component has loading state to maintain keyboard navigation accessibility || ✅ | 🔧 |
204
-
|[progressbar-needs-labelling](docs/rules/progressbar-needs-labelling.md)| Accessibility: Progressbar must have aria-valuemin, aria-valuemax, aria-valuenow, aria-describedby and either aria-label or aria-labelledby attributes | ✅ |||
204
+
|[progressbar-needs-labelling](docs/rules/progressbar-needs-labelling.md)| Accessibility: Progressbar must have aria-valuemin, aria-valuemax, aria-valuenow, aria-describedby and either aria-label or aria-labelledby attributes | ✅ ||🔧|
205
205
|[radio-button-missing-label](docs/rules/radio-button-missing-label.md)| Accessibility: Radio button without label must have an accessible and visual label: aria-labelledby | ✅ |||
206
206
|[radiogroup-missing-label](docs/rules/radiogroup-missing-label.md)| Accessibility: RadioGroup without label must have an accessible and visual label: aria-labelledby | ✅ |||
207
207
|[rating-needs-name](docs/rules/rating-needs-name.md)| Accessibility: Ratings must have accessible labelling: name, aria-label, aria-labelledby or itemLabel which generates aria-label | ✅ |||
208
208
|[spin-button-needs-labelling](docs/rules/spin-button-needs-labelling.md)| Accessibility: SpinButtons must have an accessible label | ✅ |||
|[spinner-needs-labelling](docs/rules/spinner-needs-labelling.md)| Accessibility: Spinner must have either aria-label or label, aria-live and aria-busy attributes | ✅ |||
210
+
|[spinner-needs-labelling](docs/rules/spinner-needs-labelling.md)| Accessibility: Spinner must have either aria-label or label, aria-live and aria-busy attributes | ✅ ||🔧|
211
211
|[switch-needs-labelling](docs/rules/switch-needs-labelling.md)| Accessibility: Switch must have an accessible label | ✅ |||
212
212
|[tablist-and-tabs-need-labelling](docs/rules/tablist-and-tabs-need-labelling.md)| This rule aims to ensure that Tabs with icons but no text labels have an accessible name and that Tablist is properly labeled. | ✅ |||
213
213
|[tag-dismissible-needs-labelling](docs/rules/tag-dismissible-needs-labelling.md)| This rule aims to ensure that dismissible Tag components have proper accessibility labelling: either aria-label on dismissIcon or aria-label on Tag with role on dismissIcon | ✅ |||
Copy file name to clipboardExpand all lines: docs/rules/progressbar-needs-labelling.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
💼 This rule is enabled in the ✅ `recommended` config.
4
4
5
+
🔧 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).
6
+
5
7
<!-- end auto-generated rule header -->
6
8
7
9
ProgressBar must have `max` or `aria-valuemin`, `aria-valuemax` and `aria-valuenow` attributes. It also must have an accessible `Field` parent or appropriate labelling using `aria-describedby` and `aria-label`/`aria-labelledby` .
0 commit comments