Skip to content

Commit

Permalink
Add missing ARIA labels
Browse files Browse the repository at this point in the history
  • Loading branch information
nbudin committed Jul 10, 2024
1 parent ae686cd commit ab3c8fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/javascript/EventAdmin/SingleRunEventAdminList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ export default LoadQueryWrapper<
renderError: (e) => <ErrorDisplay graphQLError={e} />,
})
}
aria-label={t('events.edit.dropButton')}
title={t('events.edit.dropButton')}
>
<i className="bi-trash" />
</button>
Expand Down
1 change: 1 addition & 0 deletions app/javascript/RoomsAdmin/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export default LoadQueryWrapper(useRoomsAdminQuery, function RoomsAdmin({ data }
</div>
<button
className="btn btn-sm btn-outline-danger ms-2"
aria-label={t('admin.rooms.deleteLabel')}
title={t('admin.rooms.deleteLabel')}
onClick={() =>
confirm({
Expand Down

0 comments on commit ab3c8fd

Please sign in to comment.