Skip to content

Commit

Permalink
feat(apps/web): Add aria labels
Browse files Browse the repository at this point in the history
  • Loading branch information
nevendyulgerov committed Jan 30, 2025
1 parent 56a2ed6 commit 44e2936
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/web/src/components/inputs/inputRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ const InputRow: FC<InputRowProps> = ({
radius={50}
ml={4}
data-testid="show-connection-modal"
aria-label="Add connection"
onClick={() => showConnectionModal(to)}
>
<TbQuestionMark />
Expand Down Expand Up @@ -185,6 +186,10 @@ const InputRow: FC<InputRowProps> = ({
<ActionIcon
variant="default"
data-testid="input-row-toggle"
aria-label={
opened ? "Close details" : "Open details"
}
size="lg"
onClick={toggle}
>
{opened ? <TbX /> : <TbFileText />}
Expand Down

0 comments on commit 44e2936

Please sign in to comment.