Moodle

Glossary view needs heading markup + other accessibility fixes

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.8, 1.8.3, 1.9, 2.0
  • Fix Version/s: 1.9, 2.0
  • Component/s: Accessibility, Glossary
  • Labels:
    None

Description

Accessibility/semantic problems include:
1. No heading markup for letter headings, A, B, C... or entry headings/terms ("activities", AFAIK, Ajax...) - easy to fix glossary_print_entry_concept function - doesn't affect glossary formats - continuous, encyclopedia, etc.
2. Individual tables for layout for each entry - tricky, affects glossary formats, leave for 1.9. Interim hack: replace some <td> with <th>.
3. Entries should be marked up as list items - relates to, layout tables.
4. Search form back to front - button on left, is inconsistent with other (search) forms in Moodle, and wider.
5. Comment and other 'commands' links same for each entry - need differentiation.
6. Alphabet and paging links should use list markup.
7. Skip alphabet and paging links.
8. Form <label> markup.
...

The attachment fixes 1, (2 hack) 5, 8 - it affects 4 mod/glossary files, plus theme/standard/styles_fonts.css

Issue Links

Activity

Hide
Nick Freear added a comment -

I have committed the patch to HEAD and 1.9 branch, tagged _MERGED. Files affected:

  • mod/glossary/formats/..faq_format.php
  • mod/glossary/formats/..encyclopedia_format.php
  • mod/glossary/lib.php
  • mod/glossary/view.php
  • theme/standard/styles_fonts.css

Tested in Win XP pro SP2/ IE 6 and Firefox 2.0.0.8.

Show
Nick Freear added a comment - I have committed the patch to HEAD and 1.9 branch, tagged _MERGED. Files affected:
  • mod/glossary/formats/..faq_format.php
  • mod/glossary/formats/..encyclopedia_format.php
  • mod/glossary/lib.php
  • mod/glossary/view.php
  • theme/standard/styles_fonts.css
Tested in Win XP pro SP2/ IE 6 and Firefox 2.0.0.8.
Hide
Nick Freear added a comment -

Reopening - (X)HTML validation errors for a block element <h3> inside a <span> - woops!
I have a patch ...

Show
Nick Freear added a comment - Reopening - (X)HTML validation errors for a block element <h3> inside a <span> - woops! I have a patch ...
Hide
Nick Freear added a comment -

Committed fixes for validation and other bugs to HEAD (7/11 17:45) and 1.9 branch just now (tagged MERGED),

  • the 8 glossary formats (including TEMPLATE),
  • mod/glossary/lib.php,
  • view.php,
  • theme/standard/styles_fonts.css
Show
Nick Freear added a comment - Committed fixes for validation and other bugs to HEAD (7/11 17:45) and 1.9 branch just now (tagged MERGED),
  • the 8 glossary formats (including TEMPLATE),
  • mod/glossary/lib.php,
  • view.php,
  • theme/standard/styles_fonts.css
Hide
Nick Freear added a comment -

TODO: minor presentation bug in Author view - Author picture and name both need left justification.

Show
Nick Freear added a comment - TODO: minor presentation bug in Author view - Author picture and name both need left justification.
Hide
Martin Dougiamas added a comment -

Assuming it's good enough for now.

Show
Martin Dougiamas added a comment - Assuming it's good enough for now.
Hide
Tim Hunt added a comment -

Eloys latest change looks good. And I am assuming all the changes from a year ago must be good because they have been out there being used for ages.

Show
Tim Hunt added a comment - Eloys latest change looks good. And I am assuming all the changes from a year ago must be good because they have been out there being used for ages.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: