-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(table): improve sortable table accessibility (#1280)
* Improve a11y support for table sorting * Remove extra classes; add column highlighting * Add quick comment * Fix missing ending tag * aria-sort shouldn't always be set on every header * Remove column highlighting on sort * Port table.less changes to refactored styles * test(table): add test for sortable table * Have eslint apply to tests as well * It's okay to have unused vars for array destructures * Prettify table code + start more unit tests * Changes for latest develop changes * Unit tests for column indicators + aria-sort values * Apparently DOM tests are async? * Make unit tests + eslint happy by void'ing a promise * update th button styling * small tweak * minor styling tweak * Update test to check current and legacy markup * lint * Update test description to reflect legacy markup * add comments addresses #1280 (comment) * Add scope attr to sortable examples --------- Co-authored-by: Vlad Jimenez <[email protected]> Co-authored-by: Giamir Buoncristiani <[email protected]>
- Loading branch information
1 parent
eb08145
commit 90b78fb
Showing
7 changed files
with
566 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.