Skip to content
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 fixes (to get accessibility validators for components usable) #1359

Merged
merged 6 commits into from
May 14, 2019

Conversation

J-Kallunki
Copy link
Contributor

I'm using React-styleguidist to present and develop accessible components. Validation with Axe (React-Axe) shows error from the styleguidist so using validation tools becomes a bit harder.

Here's fixes to get accessibility validation (Axe) to pass.

Part of it is PR to Mini-html-webpack-plugin to have lang-attribute for html-element:
styleguidist/mini-html-webpack-plugin#8

@codecov-io
Copy link

codecov-io commented May 11, 2019

Codecov Report

Merging #1359 into master will not change coverage.
The diff coverage is 100%.

Impacted Files Coverage Δ
src/client/rsg-components/Ribbon/RibbonRenderer.js 100% <ø> (ø) ⬆️
...nt/rsg-components/StyleGuide/StyleGuideRenderer.js 100% <ø> (ø) ⬆️
...ponents/TableOfContents/TableOfContentsRenderer.js 100% <100%> (ø) ⬆️

@sapegin sapegin merged commit 0f461ab into styleguidist:master May 14, 2019
sapegin pushed a commit that referenced this pull request May 16, 2019
## New features

### Support React Hooks in examples

You can now use hooks in the examples, like the `useState` hook:

 ```jsx
const [count, setCount] = React.useState(42);
<Button onClick={() => setCount(count + 1)}>{count}</Button>
```

(#1353 by @eragon512)

## Bug fixes

* Accessibility fixes ([#1359](#1359) by @J-Kallunki)
* `getExampleFilename` should use default example if file does not exist ([#1362](#1362)) by @mendrew, closes [#1338](#1338)
* Hide HTML comments in Markdown files ([#1347](#1347) by @eragon512, closes #1326)
@styleguidist-bot
Copy link
Collaborator

🎉 This PR is included in version 9.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants