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

feat(table): add accessibility scope - FRONT-4259 #3247

Merged
merged 4 commits into from Mar 25, 2024

Conversation

emeryro
Copy link
Contributor

@emeryro emeryro commented Feb 19, 2024

  • add scope attribute to the table header

Copy link

github-actions bot commented Feb 19, 2024

@github-actions github-actions bot temporarily deployed to pull request February 19, 2024 12:04 Inactive
@github-actions github-actions bot temporarily deployed to pull request March 20, 2024 09:11 Inactive
{% elseif cell.label is not empty and _sortable %}
{% set _heading_attribute = _heading_attribute ~ ' data-ecl-table-sort-toggle' %}
{% endif %}
{% set _heading_attribute = _heading_attribute ~ ' scope="' ~ _heading_scope|e('html_attr') ~ '"' %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't really need to filter the string we have just defined with the escape filter here

@github-actions github-actions bot temporarily deployed to pull request March 21, 2024 12:05 Inactive
@planctus planctus merged commit ca51a57 into v4-dev Mar 25, 2024
7 checks passed
@planctus planctus deleted the FRONT-4259-acc-table-multi branch March 25, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants