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

chore(Table): Add aria-label to Table page size selector #29391

Merged
merged 3 commits into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function DefaultSelectRenderer({
<span className="dt-select-page-size form-inline">
{t('Show')}{' '}
<select
aria-label={t('Show %s entries', current)}
className="form-control input-sm"
value={current}
onBlur={() => {}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@ function SelectPageSize({
<span className="dt-select-page-size form-inline">
{t('page_size.show')}{' '}
<select
aria-label={`${t('page_size.show')} ${current} ${t(
geido marked this conversation as resolved.
Show resolved Hide resolved
'page_size.entries',
)}`}
className="form-control input-sm"
value={current}
onBlur={() => {}}
Expand Down
Loading