Skip to content

Commit

Permalink
fix: add missing accessibility options
Browse files Browse the repository at this point in the history
  • Loading branch information
MauriceNino committed Jan 26, 2023
1 parent ac12981 commit f677f2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/view/src/components/widget-switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ export const WidgetSwitch = ({
}: WidgetSwitchProps) => (
<SwitchContainer>
<ThemedText>{label}</ThemedText>
<Switch checked={checked} onChange={onChange} />
<Switch checked={checked} onChange={onChange} title={label} />
</SwitchContainer>
);
1 change: 1 addition & 0 deletions apps/view/src/widgets/server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ export const ServerWidget: FC<ServerWidgetProps> = ({ data, config }) => {
icon={<FontAwesomeIcon icon={faGithub} />}
href='https://github.com/MauriceNino/dashdot'
target='_blank'
aria-label='GitHub Link'
/>
</ButtonsContainer>

Expand Down

0 comments on commit f677f2f

Please sign in to comment.