Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-12039

TeX filter should allow alternative text for accessibility

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Accessibility
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      The TeX filter has a variety of ways of entering TeX content, but none of them allow alternative text. It always uses the TeX equation as alternative text. This is not very accessible.

      For example, this might be \frac

      {1} {x}

      , which a screenreader would read as 'backslash frac left brace one right brace left brace x right brace'.

      Although this is probably the best possible for general user-created content such as a forum post, when creating course material that is supposed to be accessible, it would be good to allow alternative text so that the creator can manually make the alt text something like 'one over x'.

      One of the TeX filter formats is <tex>(TeX code)</tex>. I propose extending this so that when using this format you can specify <tex alt="whatever">(TeX code)</tex>. Users who require alternative text will need to use this format and not one of the others ($$, etc).

        Attachments

          Activity

            People

            Assignee:
            quen Sam Marshall
            Reporter:
            quen Sam Marshall
            Tester:
            Nicolas Martignoni
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10