-
Notifications
You must be signed in to change notification settings - Fork 352
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
fix(Page): improve a11y in sidebar and header #1145
Conversation
PatternFly-React preview: https://1145-pr-patternfly-react-patternfly.surge.sh |
Pull Request Test Coverage Report for Build 4103
💛 - Coveralls |
Thanks for working on this, @boaz0! Everything looks good, except one thing. When I click the hamburger button to toggle the display of the navigation panel, the |
@jgiardino I fixed it... thanks. 😃 |
Hmm, I'm still seeing this issue. I'm looking at the runtime html using the preview link above. Could the preview be stale? |
@jgiardino looking at surge.sh it seems to work: |
Thanks for sharing that clip! I have been experiencing issues with the previews, so it's hard to tell if something is working as expected or not. I am able to see the Page component work as expected, as shown in your example. But when I look at the Page demo, I'm not seeing a change. But I'm also not sure if that's the correct expectation. I assumed that behavior is built into the Page component, and therefore would be visible wherever the Page component is being used, but I could be wrong about that . cc'ing @jschuler on this in case he has input on that expectation, or to review this in case it is working and it's just me having issues with my preview again 😣 |
Now I see what's the problem. I need to update the layout too. Thank you for noticing. |
@jgiardino fixed it -- can you take a look please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving this since the html and attributes look good for the Page component, but there were recently errors showing on the component pages which may or may not need to be addressed here.
That's really odd. Running it locally I don't see these errors. However, surge.sh still not being fixed even after doing |
That was an issue with the workspace in master that recently went in, should be fixed now after rebase |
packages/patternfly-4/react-core/src/components/Page/PageHeader.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering since isNavOpen is now set in the page header and page side bar if this makes more sense to set this in the Page component and pass it to the children.
@dlabaj I thought about using Let me know if I am forgetting something or you believe we can do it in a different way. |
Signed-off-by: Boaz Shuster <boaz.shuster.github@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What:
fixes #1136
//cc @jgiardino