Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-5219

Improve livetable markup for better accessibility compliance

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3, 2.2.6
    • Fix Version/s: 2.4 M1
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Even if ajax based stuff will never fully comply with accessibility requirements, I have improve a little bit the livetable pagination markup so it gets closer to these requirements. Currently, the pagination feature use <span> for numbers, and also use empty <span> with a background image for previous/next page buttons. Both of these practice produce very poor interface once the css is disabled.

      I have replace <span> by <a> to ensure proper markup of links.

      why do you use href="#", and not just not use href at all?

      <a> without href is not considered as a link by most browsers. An <a> without attribute is just like a span ! Even the a:hover style is not applied on some of them (at least webkit based do not).
      Since my goal is to provide real links so the navigator or the assistive reader report them as links properly without css.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                softec Denis Gervalle
                Reporter:
                softec Denis Gervalle
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: