Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Refine accessibilityHint (#7554)

* `accessibilityHint`

* accessibilityHint

* Update

Co-Authored-By: jason-me <mail@jason-hester.me>

* Update LoginForm.tsx

---------

Co-authored-by: jason-me <mail@jason-hester.me>

authored by

Minseo Lee
jason-me
and committed by
GitHub
b1cc4a5e eabe3ed2

+40 -40
+1 -1
src/components/ProgressGuide/FollowDialog.tsx
··· 762 762 autoComplete="off" 763 763 autoCapitalize="none" 764 764 accessibilityLabel={_(msg`Search profiles`)} 765 - accessibilityHint={_(msg`Search profiles`)} 765 + accessibilityHint={_(msg`Searches for profiles`)} 766 766 /> 767 767 </View> 768 768 )
+1 -1
src/components/VideoPostCard.tsx
··· 112 112 113 113 return ( 114 114 <Link 115 - accessibilityHint={_(msg`Tap to view video in immersive mode.`)} 115 + accessibilityHint={_(msg`Views video in immersive mode`)} 116 116 label={_(msg`Video from ${author.handle}: ${text}`)} 117 117 to={{ 118 118 screen: 'VideoFeed',
+1 -1
src/components/dms/dialogs/SearchablePeopleList.tsx
··· 505 505 autoCapitalize="none" 506 506 autoFocus 507 507 accessibilityLabel={_(msg`Search profiles`)} 508 - accessibilityHint={_(msg`Search profiles`)} 508 + accessibilityHint={_(msg`Searches for profiles`)} 509 509 /> 510 510 </View> 511 511 )
+2 -2
src/components/forms/HostingProvider.tsx
··· 47 47 </Text> 48 48 <Button 49 49 label={toNiceDomain(serviceUrl)} 50 - accessibilityHint={_(msg`Press to change hosting provider`)} 50 + accessibilityHint={_(msg`Changes hosting provider`)} 51 51 onPress={onPressSelectService} 52 52 variant="ghost" 53 53 color="secondary" ··· 63 63 <Button 64 64 testID="selectServiceButton" 65 65 label={toNiceDomain(serviceUrl)} 66 - accessibilityHint={_(msg`Press to change hosting provider`)} 66 + accessibilityHint={_(msg`Changes hosting provider`)} 67 67 variant="solid" 68 68 color="secondary" 69 69 style={[
+3 -3
src/components/moderation/ContentHider.tsx
··· 146 146 label={desc.name} 147 147 accessibilityHint={ 148 148 modui.noOverride 149 - ? _(msg`Learn more about the moderation applied to this content.`) 149 + ? _(msg`Learn more about the moderation applied to this content`) 150 150 : override 151 - ? _(msg`Hide the content`) 152 - : _(msg`Show the content`) 151 + ? _(msg`Hides the content`) 152 + : _(msg`Shows the content`) 153 153 }> 154 154 {state => ( 155 155 <View
+1 -1
src/components/moderation/PostHider.tsx
··· 76 76 }} 77 77 accessibilityRole="button" 78 78 accessibilityHint={ 79 - override ? _(msg`Hide the content`) : _(msg`Show the content`) 79 + override ? _(msg`Hides the content`) : _(msg`Shows the content`) 80 80 } 81 81 accessibilityLabel="" 82 82 style={[
+1 -1
src/screens/Login/LoginForm.tsx
··· 232 232 onSubmitEditing={onPressNext} 233 233 blurOnSubmit={false} // HACK: https://github.com/facebook/react-native/issues/21911#issuecomment-558343069 Keyboard blur behavior is now handled in onSubmitEditing 234 234 editable={!isProcessing} 235 - accessibilityHint={_(msg`Input your password`)} 235 + accessibilityHint={_(msg`Enter your password`)} 236 236 /> 237 237 <Button 238 238 testID="forgotPasswordButton"
+1 -1
src/screens/Messages/components/ChatListItem.tsx
··· 281 281 !isDeletedAccount 282 282 ? _(msg`Go to conversation with ${profile.handle}`) 283 283 : _( 284 - msg`This conversation is with a deleted or a deactivated account. Press for options.`, 284 + msg`This conversation is with a deleted or a deactivated account. Press for options`, 285 285 ) 286 286 } 287 287 accessibilityActions={
+1 -3
src/screens/Onboarding/Layout.tsx
··· 53 53 aria-role="dialog" 54 54 aria-label={dialogLabel} 55 55 accessibilityLabel={dialogLabel} 56 - accessibilityHint={_( 57 - msg`The following steps will help customize your Bluesky experience.`, 58 - )} 56 + accessibilityHint={_(msg`Customizes your Bluesky experience`)} 59 57 style={[ 60 58 // @ts-ignore web only -prf 61 59 isWeb ? a.fixed : a.absolute,
+1 -1
src/screens/Profile/ErrorState.tsx
··· 60 60 color="secondary" 61 61 variant="solid" 62 62 label={_(msg`Go Back`)} 63 - accessibilityHint="Return to previous page" 63 + accessibilityHint="Returns to previous page" 64 64 onPress={onPressBack}> 65 65 <ButtonText> 66 66 <Trans>Go Back</Trans>
+1 -1
src/screens/Settings/AboutSettings.tsx
··· 65 65 </SettingsList.LinkItem> 66 66 <SettingsList.PressableItem 67 67 label={_(msg`Version ${appVersion}`)} 68 - accessibilityHint={_(msg`Copy build version to clipboard`)} 68 + accessibilityHint={_(msg`Copies build version to clipboard`)} 69 69 onPress={() => { 70 70 setStringAsync( 71 71 `Build version: ${appVersion}; Bundle info: ${bundleInfo}; Bundle date: ${BUNDLE_DATE}; Platform: ${Platform.OS}; Platform version: ${Platform.Version}`,
+1 -1
src/screens/Settings/AccountSettings.tsx
··· 124 124 </SettingsList.PressableItem> 125 125 <SettingsList.PressableItem 126 126 label={_(msg`Handle`)} 127 - accessibilityHint={_(msg`Open change handle dialog`)} 127 + accessibilityHint={_(msg`Opens change handle dialog`)} 128 128 onPress={() => changeHandleControl.open()}> 129 129 <SettingsList.ItemIcon icon={AtIcon} /> 130 130 <SettingsList.ItemText>
+1 -1
src/screens/Settings/AppIconSettings/index.tsx
··· 213 213 return ( 214 214 <PressableScale 215 215 accessibilityLabel={icon.name} 216 - accessibilityHint={_(msg`Tap to change app icon`)} 216 + accessibilityHint={_(msg`Changes app icon`)} 217 217 targetScale={0.95} 218 218 onPress={() => { 219 219 if (isAndroid) {
+2 -2
src/screens/Settings/Settings.tsx
··· 101 101 <SettingsList.PressableItem 102 102 label={_(msg`Switch account`)} 103 103 accessibilityHint={_( 104 - msg`Show other accounts you can switch to`, 104 + msg`Shows other accounts you can switch to`, 105 105 )} 106 106 onPress={() => { 107 107 if (!reducedMotion) { ··· 205 205 <SettingsList.PressableItem 206 206 onPress={() => Linking.openURL(HELP_DESK_URL)} 207 207 label={_(msg`Help`)} 208 - accessibilityHint={_(msg`Open helpdesk in browser`)}> 208 + accessibilityHint={_(msg`Opens helpdesk in browser`)}> 209 209 <SettingsList.ItemIcon icon={CircleQuestionIcon} /> 210 210 <SettingsList.ItemText> 211 211 <Trans>Help</Trans>
+1 -1
src/screens/Settings/components/ChangeHandleDialog.tsx
··· 537 537 538 538 <Button 539 539 label={_(msg`Use default provider`)} 540 - accessibilityHint={_(msg`Go back to previous page`)} 540 + accessibilityHint={_(msg`Returns to previous page`)} 541 541 onPress={goToServiceHandle} 542 542 variant="outline" 543 543 color="secondary"
+1 -1
src/screens/StarterPack/Wizard/index.tsx
··· 284 284 <Layout.Header.Outer> 285 285 <Layout.Header.BackButton 286 286 label={_(msg`Back`)} 287 - accessibilityHint={_(msg`Go back to the previous step`)} 287 + accessibilityHint={_(msg`Returns to the previous step`)} 288 288 onPress={evt => { 289 289 if (state.currentStep !== 'Details') { 290 290 evt.preventDefault()
+2 -2
src/screens/VideoFeed/index.tsx
··· 800 800 : _(msg`Follow ${handle}`) 801 801 } 802 802 accessibilityHint={ 803 - profile.viewer?.following ? _(msg`Unfollow user`) : '' 803 + profile.viewer?.following ? _(msg`Unfollows the user`) : '' 804 804 } 805 805 size="small" 806 806 variant="solid" ··· 930 930 /> 931 931 {constrained && !screenReaderEnabled && ( 932 932 <Pressable 933 - accessibilityHint={_(msg`Tap to expand or collapse post text.`)} 933 + accessibilityHint={_(msg`Expands or collapses post text`)} 934 934 accessibilityLabel={expanded ? _(msg`Read less`) : _(msg`Read more`)} 935 935 hitSlop={HITSLOP_20} 936 936 onPress={() => setExpanded(prev => !prev)}
+1 -1
src/view/com/composer/Composer.tsx
··· 1241 1241 onPress={onEmojiButtonPress} 1242 1242 style={a.p_sm} 1243 1243 label={_(msg`Open emoji picker`)} 1244 - accessibilityHint={_(msg`Open emoji picker`)} 1244 + accessibilityHint={_(msg`Opens emoji picker`)} 1245 1245 variant="ghost" 1246 1246 shape="round" 1247 1247 color="primary">
+1 -1
src/view/com/composer/ComposerReplyTo.tsx
··· 70 70 msg`Expand or collapse the full post you are replying to`, 71 71 )} 72 72 accessibilityHint={_( 73 - msg`Expand or collapse the full post you are replying to`, 73 + msg`Expands or collapses the full post you are replying to`, 74 74 )}> 75 75 <PreviewableUserAvatar 76 76 size={50}
+2 -2
src/view/com/composer/text-input/web/EmojiPicker.web.tsx
··· 135 135 <Pressable 136 136 accessible 137 137 accessibilityLabel={_(msg`Close emoji picker`)} 138 - accessibilityHint={_(msg`Tap to close the emoji picker`)} 138 + accessibilityHint={_(msg`Closes the emoji picker`)} 139 139 onPress={close} 140 140 style={[a.fixed, a.inset_0]} 141 141 /> ··· 171 171 <Pressable 172 172 accessible 173 173 accessibilityLabel={_(msg`Close emoji picker`)} 174 - accessibilityHint={_(msg`Tap to close the emoji picker`)} 174 + accessibilityHint={_(msg`Closes the emoji picker`)} 175 175 onPress={close} 176 176 style={[a.fixed, a.inset_0]} 177 177 />
+1 -1
src/view/com/post-thread/PostThreadItem.tsx
··· 802 802 <Button 803 803 label={_(msg`Archived post`)} 804 804 accessibilityHint={_( 805 - msg`Show information about when this post was created`, 805 + msg`Shows information about when this post was created`, 806 806 )} 807 807 onPress={e => { 808 808 e.preventDefault()
+3 -1
src/view/com/util/forms/DropdownButton.tsx
··· 293 293 onPress={() => onPressItem(index)} 294 294 accessibilityRole="button" 295 295 accessibilityLabel={item.label} 296 - accessibilityHint={_(msg`Option ${index + 1} of ${numItems}`)}> 296 + accessibilityHint={_( 297 + msg`Selects option ${index + 1} of ${numItems}`, 298 + )}> 297 299 {item.icon && ( 298 300 <FontAwesomeIcon 299 301 style={styles.icon}
+2 -2
src/view/com/util/images/AutoSizedImage.tsx
··· 196 196 onPressIn={onPressIn} 197 197 // alt here is what screen readers actually use 198 198 accessibilityLabel={image.alt} 199 - accessibilityHint={_(msg`Tap to view full image`)} 199 + accessibilityHint={_(msg`Views full image`)} 200 200 style={[ 201 201 a.w_full, 202 202 a.rounded_md, ··· 218 218 onPressIn={onPressIn} 219 219 // alt here is what screen readers actually use 220 220 accessibilityLabel={image.alt} 221 - accessibilityHint={_(msg`Tap to view full image`)} 221 + accessibilityHint={_(msg`Views full image`)} 222 222 style={[a.h_full]}> 223 223 {contents} 224 224 </Pressable>
+1 -1
src/view/com/util/post-embeds/ExternalPlayerEmbed.tsx
··· 56 56 <Pressable 57 57 accessibilityRole="button" 58 58 accessibilityLabel={_(msg`Play Video`)} 59 - accessibilityHint={_(msg`Play Video`)} 59 + accessibilityHint={_(msg`Plays the video`)} 60 60 onPress={onPress} 61 61 style={[styles.overlayContainer]}> 62 62 {!isPlayerActive ? (
+1 -1
src/view/com/util/post-embeds/GifEmbed.tsx
··· 39 39 return ( 40 40 <Pressable 41 41 accessibilityRole="button" 42 - accessibilityHint={_(msg`Play or pause the GIF`)} 42 + accessibilityHint={_(msg`Plays or pauses the GIF`)} 43 43 accessibilityLabel={isPlaying ? _(msg`Pause`) : _(msg`Play`)} 44 44 style={[ 45 45 a.absolute,
+3 -3
src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx
··· 132 132 onPress={enterFullscreen} 133 133 style={a.flex_1} 134 134 accessibilityLabel={_(msg`Video`)} 135 - accessibilityHint={_(msg`Tap to enter full screen`)} 135 + accessibilityHint={_(msg`Enters full screen`)} 136 136 accessibilityRole="button" 137 137 /> 138 138 <ControlButton 139 139 onPress={togglePlayback} 140 140 label={isPlaying ? _(msg`Pause`) : _(msg`Play`)} 141 - accessibilityHint={_(msg`Tap to play or pause`)} 141 + accessibilityHint={_(msg`Plays or pauses the video`)} 142 142 style={{left: 6}}> 143 143 {isPlaying ? ( 144 144 <PauseIcon width={13} fill={t.palette.white} /> ··· 155 155 ? _(msg({message: `Unmute`, context: 'video'})) 156 156 : _(msg({message: `Mute`, context: 'video'})) 157 157 } 158 - accessibilityHint={_(msg`Tap to toggle sound`)} 158 + accessibilityHint={_(msg`Toggles the sound`)} 159 159 style={{right: 6}}> 160 160 {muted ? ( 161 161 <MuteIcon width={13} fill={t.palette.white} />
+1 -1
src/view/screens/ProfileList.tsx
··· 1007 1007 <Button 1008 1008 type="default" 1009 1009 accessibilityLabel={_(msg`Go back`)} 1010 - accessibilityHint={_(msg`Return to previous page`)} 1010 + accessibilityHint={_(msg`Returns to previous page`)} 1011 1011 onPress={onPressBack} 1012 1012 style={{flexShrink: 1}}> 1013 1013 <Text type="button" style={pal.text}>
+2 -2
src/view/screens/Search/Search.tsx
··· 807 807 hitSlop={HITSLOP_10} 808 808 label={_(msg`Menu`)} 809 809 accessibilityHint={_( 810 - msg`Access navigation links and settings`, 810 + msg`Provides access to navigation links and settings`, 811 811 )} 812 812 size="large" 813 813 variant="solid" ··· 1033 1033 accessibilityRole="button" 1034 1034 accessibilityLabel={_(msg`Remove profile`)} 1035 1035 accessibilityHint={_( 1036 - msg`Remove profile from search history`, 1036 + msg`Removes profile from search history`, 1037 1037 )} 1038 1038 onPress={() => onRemoveProfileClick(profile)} 1039 1039 hitSlop={createHitslop(6)}