Rename aria* attributes on Dropdown, Autocomplete, Listbox and MultiSelect

pull/2835/head
mertsincan 2022-08-01 11:48:08 +01:00
parent 8271114182
commit 923e931bbf
16 changed files with 32 additions and 32 deletions

View File

@ -216,13 +216,13 @@ const AutoCompleteProps = [
description: "Index of the element in tabbing order." description: "Index of the element in tabbing order."
}, },
{ {
name: "ariaLabel", name: "aria-label",
type: "string", type: "string",
default: "null", default: "null",
description: "Defines a string value that labels an interactive element." description: "Defines a string value that labels an interactive element."
}, },
{ {
name: "ariaLabelledby", name: "aria-labelledby",
type: "string", type: "string",
default: "null", default: "null",
description: "Identifier of the underlying input element." description: "Identifier of the underlying input element."

View File

@ -228,13 +228,13 @@ const DropdownProps = [
description: "Index of the element in tabbing order." description: "Index of the element in tabbing order."
}, },
{ {
name: "ariaLabel", name: "aria-label",
type: "string", type: "string",
default: "null", default: "null",
description: "Defines a string value that labels an interactive element." description: "Defines a string value that labels an interactive element."
}, },
{ {
name: "ariaLabelledby", name: "aria-labelledby",
type: "string", type: "string",
default: "null", default: "null",
description: "Identifier of the underlying input element." description: "Identifier of the underlying input element."

View File

@ -156,13 +156,13 @@ const ListboxProps = [
description: "Index of the element in tabbing order." description: "Index of the element in tabbing order."
}, },
{ {
name: "ariaLabel", name: "aria-label",
type: "string", type: "string",
default: "null", default: "null",
description: "Defines a string value that labels an interactive element." description: "Defines a string value that labels an interactive element."
}, },
{ {
name: "ariaLabelledby", name: "aria-labelledby",
type: "string", type: "string",
default: "null", default: "null",
description: "Identifier of the underlying input element." description: "Identifier of the underlying input element."

View File

@ -246,13 +246,13 @@ const MultiSelectProps = [
description: "Index of the element in tabbing order." description: "Index of the element in tabbing order."
}, },
{ {
name: "ariaLabel", name: "aria-label",
type: "string", type: "string",
default: "null", default: "null",
description: "Defines a string value that labels an interactive element." description: "Defines a string value that labels an interactive element."
}, },
{ {
name: "ariaLabelledby", name: "aria-labelledby",
type: "string", type: "string",
default: "null", default: "null",
description: "Identifier of the underlying input element." description: "Identifier of the underlying input element."

View File

@ -233,11 +233,11 @@ export interface AutoCompleteProps {
/** /**
* Defines a string value that labels an interactive element. * Defines a string value that labels an interactive element.
*/ */
ariaLabel?: string | undefined; "aria-label"?: string | undefined;
/** /**
* Identifier of the underlying input element. * Identifier of the underlying input element.
*/ */
ariaLabelledby?: string | undefined; "aria-labelledby"?: string | undefined;
} }
export interface AutoCompleteSlots { export interface AutoCompleteSlots {

View File

@ -178,11 +178,11 @@ export default {
type: Number, type: Number,
default: 0 default: 0
}, },
ariaLabel: { "aria-label": {
type: String, type: String,
default: null default: null
}, },
ariaLabelledby: { "aria-labelledby": {
type: String, type: String,
default: null default: null
} }

View File

@ -210,11 +210,11 @@ export interface DropdownProps extends HTMLDivElement {
/** /**
* Defines a string value that labels an interactive element. * Defines a string value that labels an interactive element.
*/ */
ariaLabel?: string | undefined; "aria-label"?: string | undefined;
/** /**
* Identifier of the underlying input element. * Identifier of the underlying input element.
*/ */
ariaLabelledby?: string | undefined; "aria-labelledby"?: string | undefined;
} }
export interface DropdownSlots { export interface DropdownSlots {

View File

@ -164,11 +164,11 @@ export default {
type: Number, type: Number,
default: 0 default: 0
}, },
ariaLabel: { "aria-label": {
type: String, type: String,
default: null default: null
}, },
ariaLabelledby: { "aria-labelledby": {
type: String, type: String,
default: null default: null
} }

View File

@ -154,11 +154,11 @@ export interface ListboxProps {
/** /**
* Defines a string value that labels an interactive element. * Defines a string value that labels an interactive element.
*/ */
ariaLabel?: string | undefined; "aria-label"?: string | undefined;
/** /**
* Identifier of the underlying input element. * Identifier of the underlying input element.
*/ */
ariaLabelledby?: string | undefined; "aria-labelledby"?: string | undefined;
} }
export interface ListboxSlots { export interface ListboxSlots {

View File

@ -120,11 +120,11 @@ export default {
type: Number, type: Number,
default: 0 default: 0
}, },
ariaLabel: { "aria-label": {
type: String, type: String,
default: null default: null
}, },
ariaLabelledby: { "aria-labelledby": {
type: String, type: String,
default: null default: null
} }

View File

@ -234,11 +234,11 @@ export interface MultiSelectProps extends HTMLDivElement {
/** /**
* Defines a string value that labels an interactive element. * Defines a string value that labels an interactive element.
*/ */
ariaLabel?: string | undefined; "aria-label"?: string | undefined;
/** /**
* Identifier of the underlying input element. * Identifier of the underlying input element.
*/ */
ariaLabelledby?: string | undefined; "aria-labelledby"?: string | undefined;
} }
export interface MultiSelectSlots { export interface MultiSelectSlots {

View File

@ -221,11 +221,11 @@ export default {
type: Number, type: Number,
default: 0 default: 0
}, },
ariaLabel: { "aria-label": {
type: String, type: String,
default: null default: null
}, },
ariaLabelledby: { "aria-labelledby": {
type: String, type: String,
default: null default: null
} }

View File

@ -365,13 +365,13 @@ export default {
<td>Index of the element in tabbing order.</td> <td>Index of the element in tabbing order.</td>
</tr> </tr>
<tr> <tr>
<td>ariaLabel</td> <td>aria-label</td>
<td>string</td> <td>string</td>
<td>null</td> <td>null</td>
<td>Defines a string value that labels an interactive element.</td> <td>Defines a string value that labels an interactive element.</td>
</tr> </tr>
<tr> <tr>
<td>ariaLabelledby</td> <td>aria-labelledby</td>
<td>string</td> <td>string</td>
<td>null</td> <td>null</td>
<td>Establishes relationships between the component and label(s) where its value should be one or more element IDs.</td> <td>Establishes relationships between the component and label(s) where its value should be one or more element IDs.</td>

View File

@ -361,13 +361,13 @@ export default {
<td>Index of the element in tabbing order.</td> <td>Index of the element in tabbing order.</td>
</tr> </tr>
<tr> <tr>
<td>ariaLabel</td> <td>aria-label</td>
<td>string</td> <td>string</td>
<td>null</td> <td>null</td>
<td>Defines a string value that labels an interactive element.</td> <td>Defines a string value that labels an interactive element.</td>
</tr> </tr>
<tr> <tr>
<td>ariaLabelledby</td> <td>aria-labelledby</td>
<td>string</td> <td>string</td>
<td>null</td> <td>null</td>
<td>Establishes relationships between the component and label(s) where its value should be one or more element IDs.</td> <td>Establishes relationships between the component and label(s) where its value should be one or more element IDs.</td>

View File

@ -286,13 +286,13 @@ export default {
<td>Index of the element in tabbing order.</td> <td>Index of the element in tabbing order.</td>
</tr> </tr>
<tr> <tr>
<td>ariaLabel</td> <td>aria-label</td>
<td>string</td> <td>string</td>
<td>null</td> <td>null</td>
<td>Defines a string value that labels an interactive element.</td> <td>Defines a string value that labels an interactive element.</td>
</tr> </tr>
<tr> <tr>
<td>ariaLabelledby</td> <td>aria-labelledby</td>
<td>string</td> <td>string</td>
<td>null</td> <td>null</td>
<td>Establishes relationships between the component and label(s) where its value should be one or more element IDs.</td> <td>Establishes relationships between the component and label(s) where its value should be one or more element IDs.</td>

View File

@ -388,13 +388,13 @@ export default {
<td>Index of the element in tabbing order.</td> <td>Index of the element in tabbing order.</td>
</tr> </tr>
<tr> <tr>
<td>ariaLabel</td> <td>aria-label</td>
<td>string</td> <td>string</td>
<td>null</td> <td>null</td>
<td>Defines a string value that labels an interactive element.</td> <td>Defines a string value that labels an interactive element.</td>
</tr> </tr>
<tr> <tr>
<td>ariaLabelledby</td> <td>aria-labelledby</td>
<td>string</td> <td>string</td>
<td>null</td> <td>null</td>
<td>Establishes relationships between the component and label(s) where its value should be one or more element IDs.</td> <td>Establishes relationships between the component and label(s) where its value should be one or more element IDs.</td>