fix a11y issue input param dropdown

This commit is contained in:
vaidankarswapnil 2022-01-24 20:13:21 +05:30
parent a4934b7208
commit dc3aecbf3d

View File

@ -319,6 +319,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
className="ms-Stack css-54" className="ms-Stack css-54"
> >
<Dropdown <Dropdown
ariaLabel="Key"
defaultSelectedKey="string" defaultSelectedKey="string"
key=".0:$.0" key=".0:$.0"
label="Key" label="Key"
@ -345,6 +346,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
tabIndex={0} tabIndex={0}
> >
<DropdownBase <DropdownBase
ariaLabel="Key"
defaultSelectedKey="string" defaultSelectedKey="string"
label="Key" label="Key"
onChange={[Function]} onChange={[Function]}
@ -637,6 +639,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
} }
> >
<DropdownInternal <DropdownInternal
ariaLabel="Key"
defaultSelectedKey="string" defaultSelectedKey="string"
hoisted={ hoisted={
Object { Object {
@ -1235,7 +1238,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
<div <div
aria-expanded="false" aria-expanded="false"
aria-haspopup="listbox" aria-haspopup="listbox"
aria-labelledby="Dropdown0-label Dropdown0-option" aria-label="Key"
className="ms-Dropdown dropdown-55" className="ms-Dropdown dropdown-55"
data-is-focusable={true} data-is-focusable={true}
data-ktp-target={true} data-ktp-target={true}
@ -2477,6 +2480,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
className="ms-Stack css-54" className="ms-Stack css-54"
> >
<Dropdown <Dropdown
ariaLabel="Key"
defaultSelectedKey="string" defaultSelectedKey="string"
key=".0:$.0" key=".0:$.0"
label="Key" label="Key"
@ -2503,6 +2507,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
tabIndex={0} tabIndex={0}
> >
<DropdownBase <DropdownBase
ariaLabel="Key"
defaultSelectedKey="string" defaultSelectedKey="string"
label="Key" label="Key"
onChange={[Function]} onChange={[Function]}
@ -2795,6 +2800,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
} }
> >
<DropdownInternal <DropdownInternal
ariaLabel="Key"
defaultSelectedKey="string" defaultSelectedKey="string"
hoisted={ hoisted={
Object { Object {
@ -3393,7 +3399,7 @@ exports[`Excute Sproc Param Pane should render Default properly 1`] = `
<div <div
aria-expanded="false" aria-expanded="false"
aria-haspopup="listbox" aria-haspopup="listbox"
aria-labelledby="Dropdown4-label Dropdown4-option" aria-label="Key"
className="ms-Dropdown dropdown-55" className="ms-Dropdown dropdown-55"
data-is-focusable={true} data-is-focusable={true}
data-ktp-target={true} data-ktp-target={true}