Why does pagination use SPAN rather than A tags?
Why does pagination use SPAN rather than A tags?
adamterlson
Posts: 4Questions: 0Answers: 0
I'm curious: why does pagination use SPAN tags rather than A tags? They are links, so wouldn't using an A tag be more appropriate?
[code]1
2
3
4
5[/code]
I'm sure there was a calculated reason, merely wondering what it might be! I ask as I'm concerned about 508 compliance.
[code]1
2
3
4
5[/code]
I'm sure there was a calculated reason, merely wondering what it might be! I ask as I'm concerned about 508 compliance.
This discussion has been closed.
Replies
What I would suggest for now is to use a pagination plug-in which basically does exactly the same thing as the built-in pagination (the built-in one is really just a plug-in itself, so it's easy to pull out!), and change the SPAN tags for A tags.
Ultimately what I would really like to do is have DataTables use ARIA to be as accessible as possible. If you know any ARIA consultants I would be very interested to know as I've not had a huge amount of luck thus far in that particular hunt.
Regards,
Allan