-
Notifications
You must be signed in to change notification settings - Fork 6
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
DSD-1867: overflow focus indicator #1701
DSD-1867: overflow focus indicator #1701
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
The spacing for mobile is better, but desktop needs some adjustments.
@@ -8,6 +8,10 @@ Currently, this repo is in Prerelease. When it is released, this project will ad | |||
|
|||
## Prerelease | |||
|
|||
### Fixes | |||
|
|||
- Fixes issue where focus indicator was being cut off in places in the `Template` component. |
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.
I feel this should mention some details about the solution. Something about adjusting the padding throughout.
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.
Perhaps in the specific component changelog?
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.
Updated component changelog
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.
This makes the sidebar narrower. It's noticeable when comparing this against production. This does fix the focus issue but we should be wary of an update like this because it's a visual change for applications. If it should be narrower, we should give teams a heads up and aim to release this later on.
@EdwinGuzman I believe @bigfishdesign13 and I resolved this by adding additional width to the sidebar column. |
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.
The spacing looks good now and the focus ring is fully visible. What do you think about an rc
for additional testing in Turbine and perhaps elsewhere?
src/theme/components/template.ts
Outdated
@@ -68,27 +69,35 @@ const TemplateContentTopBottom = defineStyleConfig({ | |||
const TemplateContentPrimary = defineStyleConfig({ | |||
baseStyle: defineStyle({ | |||
gridColumn: { base: "1", md: "1 / span 2" }, | |||
overflow: { base: "unset", md: "hidden" }, |
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.
This is where the issue @bigfishdesign13 flagged comes from in https://github.com/NYPL/nypl-ds-test-app/pull/119#issuecomment-2494008501
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.
Looks good. Thanks!
Fixes JIRA ticket DSD-1867
This PR does the following:
Template
component.How has this been tested?
Accessibility concerns or updates
Accessibility Checklist
aria-live
is used, a screenreader was used to verify the text is read.ref
s, focus management was reviewed.Open Questions
Checklist:
Front End Review: