Skip to content

Update A11y doc with Accessibility heading support#579

Closed
anushreeag wants to merge 2 commits into
facebook:masterfrom
anushreeag:patch-3
Closed

Update A11y doc with Accessibility heading support#579
anushreeag wants to merge 2 commits into
facebook:masterfrom
anushreeag:patch-3

Conversation

@anushreeag

Copy link
Copy Markdown
Contributor

Summary

I submitted the PR for accessibility headers support : #573 . Adding documentation now for the same.

Changelog

Test Plan

I submitted the PR for accessibility headers support : facebook#573 . Adding documentation now for the same.

@muraziz muraziz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@anushreeag thanks for sending this PR! Requesting changes mainly for styling

.build();
}
```
## Accessibility Heading

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you add new line after this?

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.

Done

Comment thread docs/_docs/accessibility.md Outdated
```
## Accessibility Heading
Heading is an accessibility property and will help the users to choose to “Navigate by Headings” and ignore scrolling through each and every sub items under a heading. “Navigate based on Heading“ can be selected from Local Context Menu when talkback is on. Talkback gesture for Local Context Menu is **Swipe up then right**.
Making any component an Accessibility Header is as simple as,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

New line before this line as it is new paragraph. Also please replace "," at the end with ":" to make it consistent with other usages above.

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.

Done

Comment thread docs/_docs/accessibility.md Outdated
Row.create(c)
.contentDescription("This is an accessibility heading")
.accessibilityHeading(true)
.build())

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It should be .build(), the second parenthesis is excessive.

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.

Done

Fixing the review comments.
@anushreeag anushreeag requested a review from muraziz October 3, 2019 06:09
@anushreeag

Copy link
Copy Markdown
Contributor Author

@muraziz , will you please review this ?

1 similar comment
@anushreeag

Copy link
Copy Markdown
Contributor Author

@muraziz , will you please review this ?

@facebook-github-bot facebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@muraziz has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@muraziz merged this pull request in 4bb3b1d.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants