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

Add aria-expanded and title attributes for accessibility improvements #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 22, 2024

  1. Add aira-expanded and title attributes for accessibility improvements

    Add aria-expanded and title attributes to first cell of each row so that when someone tabs to them they will hear "click to expand" or "click to collapse" in the screen reader. Also, if use hovers above the cell with their mouse, they will see a title with the same language. 
    
    Note: these new changes can be tested with the Basic Responsive and other examples (https://datatables.net/extensions/responsive/examples/initialisation/option.html), but there is an issue where tabbing doesn't work correctly until rows are sorted few times. (see reported Issue DataTables#134 ). To test the proposed accessibility improvement changes, please click the sorting buttons several times in the datatable.
    pczarn2 authored Oct 22, 2024
    Configuration menu
    Copy the full SHA
    3f5bcbd View commit details
    Browse the repository at this point in the history