fix(many): legacy form control does not warn when using aria-labelledby (#26699)

resolves #26698
This commit is contained in:
Liam DeBeasi
2023-01-30 16:02:00 -05:00
committed by GitHub
parent b78b454e08
commit 63f8525284
8 changed files with 25 additions and 12 deletions

View File

@ -560,7 +560,9 @@ export class Range implements ComponentInterface {
Example: <ion-range>Volume:</ion-toggle>
For ranges that do not have a visible label, developers should use "aria-label" so screen readers can announce the purpose of the range.`,
For ranges that do not have a visible label, developers should use "aria-label" so screen readers can announce the purpose of the range.
For ranges that do not render the label immediately next to the range, developers may continue to use "ion-label" but must manually associate the label with the range by using "aria-labelledby".`,
this.el
);