a11y cleanup for mute lists (#614)

This commit is contained in:
Ollie H 2023-05-11 14:30:27 -07:00 committed by GitHub
parent ebcd633386
commit c2a8713ff4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 31 additions and 23 deletions

View file

@ -306,16 +306,16 @@ const ListHeader = observer(
<Button
type="inverted"
label="Unsubscribe"
accessibilityLabel="Unsubscribe from this list"
accessibilityHint="Stops muting the users included in this list"
accessibilityLabel="Unsubscribe"
accessibilityHint=""
onPress={onToggleSubscribed}
/>
) : (
<Button
type="primary"
label="Subscribe & Mute"
accessibilityLabel="Subscribe to this list"
accessibilityHint="Mutes the users included in this list"
accessibilityLabel="Subscribe and mute"
accessibilityHint=""
onPress={onToggleSubscribed}
/>
)}
@ -324,7 +324,7 @@ const ListHeader = observer(
type="default"
label="Edit List"
accessibilityLabel="Edit list"
accessibilityHint="Opens a modal to edit the mutelist"
accessibilityHint=""
onPress={onPressEditList}
/>
)}
@ -333,7 +333,7 @@ const ListHeader = observer(
type="default"
label="Delete List"
accessibilityLabel="Delete list"
accessibilityHint="Deletes the mutelist"
accessibilityHint=""
onPress={onPressDeleteList}
/>
)}