Aria labels for page buttons

Aria labels for page buttons

mc2002tiimc2002tii Posts: 17Questions: 3Answers: 0

This is a follow up to https://datatables.net/forums/discussion/comment/219294 now that DataTables 2.0 is out. Is there any way to add a descriptive label to the page number buttons? There is no context to the page numbers (just "1", "2", etc.) to understand what the links are for when used with a screen reader.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,439Questions: 1Answers: 10,459 Site admin
    Answer ✓

    Hi,

    I'm afraid that it wasn't something that made it into DT2, apologies. It looks like I might not have made a specific issue for that feature in my bug tracker. I've done so now with a 2.1 target.

    Allan

  • mc2002tiimc2002tii Posts: 17Questions: 3Answers: 0

    Great! Thanks

  • allanallan Posts: 63,439Questions: 1Answers: 10,459 Site admin

    Hi,

    Just a little note to say that I've committed a change that will be in DataTables 2.1 which will allow aria-label attributes to be set for the number buttons in the pagination control :).

    Allan

Sign In or Register to comment.