Skip to content

Commit

Permalink
Add accessibility label to FAB
Browse files Browse the repository at this point in the history
  • Loading branch information
bouzuya committed Mar 31, 2023
1 parent 06e94ad commit 3aa7f79
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/accounts/[id]/categories/index.tsx
Expand Up @@ -49,6 +49,7 @@ export default function Categories(): JSX.Element {
/>
)}
<FAB
accessibilityLabel="Add new category"
icon="plus"
style={styles.fab}
onPress={() => {
Expand Down
1 change: 1 addition & 0 deletions app/accounts/[id]/transactions/index.tsx
Expand Up @@ -92,6 +92,7 @@ export default function Transactions(): JSX.Element {
)}
{(account?.categories ?? []).length === 0 ? null : (
<FAB
accessibilityLabel="Add new transaction"
icon="plus"
style={styles.fab}
onPress={() => {
Expand Down
1 change: 1 addition & 0 deletions app/index.tsx
Expand Up @@ -44,6 +44,7 @@ export default function Index(): JSX.Element {
/>
)}
<FAB
accessibilityLabel="Add new account"
icon="plus"
style={styles.fab}
onPress={() => {
Expand Down

0 comments on commit 3aa7f79

Please sign in to comment.