-
Notifications
You must be signed in to change notification settings - Fork 80
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
feat(datagrid): add filter title #1645
base: main
Are you sure you want to change the base?
Conversation
Thank you, 🤖 Clarity Release Bot |
This PR introduces visual changes: b0c3885
|
This PR introduces visual changes: 93d8fa1
|
This PR introduces visual changes: 8dd2c8d
|
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.
See comments.
Also, the filter form control labels are larger than the filter popup title. I don't think that's correct.
@@ -72,6 +73,7 @@ import { KeyNavigationGridController } from './utils/key-navigation-grid.control | |||
[attr.aria-label]="commonStrings.keys.datagridFilterDialogAriaLabel" | |||
> | |||
<div class="datagrid-filter-close-wrapper"> | |||
<span class="datagrid-filter-title">{{ filterTitle }}</span> |
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.
Screen reader users might have difficulties with this not marked up as a heading. I'm not sure how to handle the heading level though.
There is an aria-label
on the popup element, so maybe this is fine. I just want to make sure.
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 popup aria-label
doesn't have the column name. Maybe that should be changed.
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 filter trigger already have aria-label
similar to the filter title: {COLUMN} filter
. That is already announced to the user via screen reader.
Adding the title have more value for the regular user. The title will be read by the screen reader anyway.
First will be popup aria-label
and then the title, if I'm not mistaken.
The filter title is following the signpost title design spec. I'll double check with design. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Datagrid filter dialog window have no title.
Issue Number: CDE-2483
What is the new behavior?
Datagrid filter dialog window have title similar to signpost tile position.
Does this PR introduce a breaking change?
Other information