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

PORTALS-3270: Tool detail page spacing between lines is too large #1327

Merged
merged 9 commits into from
Nov 5, 2024

Conversation

@kianamcc kianamcc marked this pull request as draft October 29, 2024 19:02
@kianamcc kianamcc marked this pull request as ready for review October 29, 2024 21:46
className="SubsectionRowRenderer__item"
role="table"
>
<Typography
variant={
columnNameIsSectionTitle ? 'sectionTitle' : 'subsectionHeader'
}
role="heading"
role="subHeading"
Copy link
Member

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?

Copy link
Collaborator Author

@kianamcc kianamcc Nov 1, 2024

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!

@kianamcc kianamcc merged commit 5cead8c into Sage-Bionetworks:main Nov 5, 2024
24 checks passed
@kianamcc kianamcc deleted the PORTALS-3270 branch November 5, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants