Skip to content

Commit

Permalink
add aria-required for device combo box (#6456)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobanL authored Aug 30, 2023
1 parent e9ab0a1 commit 5d331be
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/app/supportAdmin/DeviceType/DeviceForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ const DeviceForm = (props: Props) => {
<Required label={"Select device"} />
</label>
<ComboBox
inputProps={{ "aria-required": "true" }}
className="usa-combo-box__full-width"
id="selectDevice"
name="selectDevice"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ Object {
aria-describedby="selectDevice--assistiveHint"
aria-expanded="false"
aria-owns="selectDevice--list"
aria-required="true"
autocapitalize="off"
autocomplete="off"
class="usa-combo-box__input"
Expand Down Expand Up @@ -912,6 +913,7 @@ Object {
aria-describedby="selectDevice--assistiveHint"
aria-expanded="false"
aria-owns="selectDevice--list"
aria-required="true"
autocapitalize="off"
autocomplete="off"
class="usa-combo-box__input"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ Object {
aria-describedby="selectDevice--assistiveHint"
aria-expanded="false"
aria-owns="selectDevice--list"
aria-required="true"
autocapitalize="off"
autocomplete="off"
class="usa-combo-box__input"
Expand Down Expand Up @@ -861,6 +862,7 @@ Object {
aria-describedby="selectDevice--assistiveHint"
aria-expanded="false"
aria-owns="selectDevice--list"
aria-required="true"
autocapitalize="off"
autocomplete="off"
class="usa-combo-box__input"
Expand Down

0 comments on commit 5d331be

Please sign in to comment.