-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessibility behavior tests and documentation generation #14968
Accessibility behavior tests and documentation generation #14968
Conversation
packages/fluentui/accessibility-definitions/src/definitions/Button/buttonBehaviorDefinition.ts
Outdated
Show resolved
Hide resolved
I think the build failure is because you need to add an alias in a tsconfig somewhere for |
Pull request checklist
$ yarn change
Open questions/Future work
If documentation is not found in behavior file, then is generated from "definition" file. In the future generating doc from behavior file need to be removed.
Description of changes
This PR is coming out from the @mnajdova PR.
#14797
Purpose of the PR is to test "behavior" files and generate documentation from each behavior file based on the test.
In this PR following behaviors are tested:
This behaviors are now cover by test which stpes are in the "[behaviorName]Definition" file.
From "[behaviorName]Definition" file is as well documentation for each behavior file generated.
It doesn't change the documentation, only content under "description" paragraph is coming from "[behaviorName]Definition" file (pl. see screenshot below):
![image](https://user-images.githubusercontent.com/22620150/92738913-a94b4c80-f37c-11ea-89b3-b9ef9cd7fff5.png)
Focus areas to test
(optional)