Moodle
  1. Moodle
  2. MDL-30881

more descriptive heading text for questions

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.1.1
    • Fix Version/s: FRONTEND
    • Component/s: Accessibility, Quiz
    • Labels:
    • Rank:
      33890

      Description

      Currently screen readers read the heading text for the questions as "question text." When screen readers browse a page by headings, a common technique, it would be good to give a little more context for which question they are on. You could make the h3 text something more like "question 2 text". That way screen readers will hear "question 2 text, heading level 3" instead of "question text, heading level 3".

        Issue Links

          Activity

          Hide
          Greg Kraus added a comment -

          Tim,

          I do want to say that overall I think the way the quiz module is implemented in terms of accessibility is quite good. The model you use for denoting the beginning of each question as a heading and breaking the components of each question into headings makes it quite easy to navigate an otherwise tricky obstacle.

          Quizzes and surveys prove to be especially problematic for screen reader users when Web designers stick to strictly to the <label> <input> model for everything. Quizzes and surveys almost always contain more information than can be well supported by that traditional model. I've tried to convince other people of this problem, but not many people have adopted this thinking. In my opinion, the way the quiz is structured in Moodle is quite usable, especially given the complexities involved.

          Show
          Greg Kraus added a comment - Tim, I do want to say that overall I think the way the quiz module is implemented in terms of accessibility is quite good. The model you use for denoting the beginning of each question as a heading and breaking the components of each question into headings makes it quite easy to navigate an otherwise tricky obstacle. Quizzes and surveys prove to be especially problematic for screen reader users when Web designers stick to strictly to the <label> <input> model for everything. Quizzes and surveys almost always contain more information than can be well supported by that traditional model. I've tried to convince other people of this problem, but not many people have adopted this thinking. In my opinion, the way the quiz is structured in Moodle is quite usable, especially given the complexities involved.
          Hide
          Tim Hunt added a comment -

          This does sound like a good suggestion.

          The only problems is that the question number is not currently passed to the sections of code that output these headings, so implemented this will require a certain amount of re-wiring.

          Thinking about it, I don't know whether I prefer "Text for question 1", "Feedback for question 1"; or is "Question 1 text", "Question 1 feedback".

          Show
          Tim Hunt added a comment - This does sound like a good suggestion. The only problems is that the question number is not currently passed to the sections of code that output these headings, so implemented this will require a certain amount of re-wiring. Thinking about it, I don't know whether I prefer "Text for question 1", "Feedback for question 1"; or is "Question 1 text", "Question 1 feedback".
          Hide
          Tim Hunt added a comment -

          Greg,

          Actually, I am having second thoughts about this. The page structure is actually

          h2: Question 1
            h3: Question text
            h3: Feedback
          h2: Question 2
            h3: Question text
            h3: Feedback
          

          which seems pretty logical to me.

          Are you really sure that screen-readers need the redundant "question N" in all headings, because it is harder to get the context in a screen reader?

          Show
          Tim Hunt added a comment - Greg, Actually, I am having second thoughts about this. The page structure is actually h2: Question 1 h3: Question text h3: Feedback h2: Question 2 h3: Question text h3: Feedback which seems pretty logical to me. Are you really sure that screen-readers need the redundant "question N" in all headings, because it is harder to get the context in a screen reader?
          Hide
          Greg Kraus added a comment -

          Hi Tim,

          I could go either way with it. I think in the long run it would be good to get some user feedback on which they prefer. I could see some screen reader users wanting more verbose heading text because they might navigate the page by heading level, meaning they might just browse by next and previous heading level 3s once they learn that is where the question text is stored. That way they could more easily get to the next and previous question. I could also see some other users saying the current format is fine.

          Whichever way you decide to go, I think the structure you provide is excellent for screen reader users already. Making quizzes accessible is hard, and the current structure provides a consistent way to navigate the system.

          Show
          Greg Kraus added a comment - Hi Tim, I could go either way with it. I think in the long run it would be good to get some user feedback on which they prefer. I could see some screen reader users wanting more verbose heading text because they might navigate the page by heading level, meaning they might just browse by next and previous heading level 3s once they learn that is where the question text is stored. That way they could more easily get to the next and previous question. I could also see some other users saying the current format is fine. Whichever way you decide to go, I think the structure you provide is excellent for screen reader users already. Making quizzes accessible is hard, and the current structure provides a consistent way to navigate the system.
          Hide
          Tim Hunt added a comment -

          Thanks Greg. That is a clear explanation that shows there are strengths and weaknesses to both approaches. As you say, the best way to decide this would be to ask some screen-reader users.

          Show
          Tim Hunt added a comment - Thanks Greg. That is a clear explanation that shows there are strengths and weaknesses to both approaches. As you say, the best way to decide this would be to ask some screen-reader users.
          Hide
          Tim Hunt added a comment -

          This issue was assigned to me automatically, however I will not be able to work on this issue in the immediate future. In order to create a truer sense of the state of this issue and to allow other developers to have chance to become involved, I am removing myself as the assignee of this issue.

          For more information, see http://docs.moodle.org/dev/Changes_to_issue_assignment

          Show
          Tim Hunt added a comment - This issue was assigned to me automatically, however I will not be able to work on this issue in the immediate future. In order to create a truer sense of the state of this issue and to allow other developers to have chance to become involved, I am removing myself as the assignee of this issue. For more information, see http://docs.moodle.org/dev/Changes_to_issue_assignment
          Hide
          Michael de Raadt added a comment -

          I'm shifting this issue into a new Epic issue, where we are collecting together accessibility issues.

          Show
          Michael de Raadt added a comment - I'm shifting this issue into a new Epic issue, where we are collecting together accessibility issues.

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: