Skip to content

Added the accessibilityLanguage prop documentation#2970

Merged
Simek merged 7 commits into
facebook:mainfrom
dgopsq:feature/added-accessibility-language-doc
Mar 30, 2022
Merged

Added the accessibilityLanguage prop documentation#2970
Simek merged 7 commits into
facebook:mainfrom
dgopsq:feature/added-accessibility-language-doc

Conversation

@dgopsq
Copy link
Copy Markdown
Contributor

@dgopsq dgopsq commented Feb 16, 2022

This PR is going to add the accessibilityLanguage prop documentation to all the components targeted by the changes of facebook/react-native#33090.

I'm not a native english speaker so I'm open to improvements / changes 🙂

@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 16, 2022

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit 56f6f28
🔍 Latest deploy log https://app.netlify.com/sites/react-native/deploys/623ce67e52b34800095d7167
😎 Deploy Preview https://deploy-preview-2970--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@Simek Simek added 🕐 Waiting on PR These may be waiting for a PR to the facebook/react-native to be merged Wait on future Release This indicates a PR that updates the doc to match a future release. labels Feb 16, 2022
@dgopsq dgopsq marked this pull request as ready for review February 16, 2022 20:34
@PrayaAmadigaPitasa
Copy link
Copy Markdown

LGTM, but I think we need to add documentation on Accessibility Properties.

Because components that use accessibility actually extend AccessibilityProps to avoid redundancy and developers can also focus on learning about accessibility on the same page.

Comment thread docs/accessibility.md Outdated

### `accessibilityLanguage` <div class="label ios">iOS</div>

Using the `accessibilityLanguage` property the screen reader will understand which language to use while reading the element's **label**, **value** and **hint**. The provided string value must follow the [BCP 47 specification](https://www.rfc-editor.org/info/bcp47).
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By using the accessibilityLanguage property, the screen reader will ...

^^ I think it will make the sentence easy to read. 😃

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it, thank you! 🙂 Added here: 56f6f28

Copy link
Copy Markdown

@iamrestrepo iamrestrepo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM to me as well. Just a small suggestion on the accessibility.md file.

@Simek Simek removed the 🕐 Waiting on PR These may be waiting for a PR to the facebook/react-native to be merged label Mar 22, 2022
Copy link
Copy Markdown
Collaborator

@Simek Simek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @dgopsq, thank you for the updates, this LGTM! 👍

Since the 0.68 has been release we can ship those changes now! 🙂

@Simek Simek merged commit 4516649 into facebook:main Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Wait on future Release This indicates a PR that updates the doc to match a future release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants