-
Notifications
You must be signed in to change notification settings - Fork 23
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
PORTALS-3270: Tool detail page spacing between lines is too large #1327
Conversation
className="SubsectionRowRenderer__item" | ||
role="table" | ||
> | ||
<Typography | ||
variant={ | ||
columnNameIsSectionTitle ? 'sectionTitle' : 'subsectionHeader' | ||
} | ||
role="heading" | ||
role="subHeading" |
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.
Is "subHeading" a valid ARIA role? Heading is... https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/heading_role
For the spacing change, would it be appropriate to define sx properties in this Typography component instead of relying on the css?
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.
@jay-hodgson subHeading is indeed not a valid ARIA role. I just reverted it back to "heading". If I use sx I have to use !important to override the global styles but with inline css, I can override it!
Jira Ticket: https://sagebionetworks.jira.com/browse/PORTALS-3270?atlOrigin=eyJpIjoiODI4OTQwMzhjYmNhNDZkNGE5NzQzODg1NmE2NDA0ZGYiLCJwIjoiaiJ9