-
Improvement
-
Resolution: Fixed
-
Major
-
2.7.11
-
None
-
2015120200
-
MOODLE_27_STABLE
-
MOODLE_27_STABLE
-
PROGRESS-WCAGFix
In the current version of the plugin (and past versions), the progress bar requires that uses hover their mouse over the progress bar to see additional information. It also requires that the user hover their mouse over icons in order to see their meaning. This results in some accessibility issues for users who can't use a mouse, users who use a touch screen and can't hover a finger or users who make use a screen reader (title="..." are not always read).
The modifications attached to this ticket attempt to address these issues by offering an alternate vertical bar view which is accessible for users who can only use a keyboard (no mouse to hover). I would imagine that the plain view would also address issues that users with touch screen might have since they can`t really hover a finger over the progress bar.
Here is a list of the changes:
lib.php
- In block_progress_bar(), added optional $forcebar parameter. Enables display of the traditional Progress Bar style even if plugin Setting is set for Plain View style progress bar. This allows progress bar style display on "overview of students" page.
- In block_progress_bar(), added new Plain view which is specifically designed to enable accessibility. Note that the default is still the traditional Progress Bar style so the change won't affect existing installations.
- Removed deprecated cellpadding and cellspacing parameters in table.
overview.php
- Added parameter to call to block_progress_bar() to force view to Progress Bar style even when in Plain View style. This is because these modifications should not affect the "Overview of Students" report (that could cause this list to become VERY long).
settings.php
- Added option to select traditional Progress Bar style (default) or Plain View (new) accessibility enabled style. This setting was placed here instead of at the block level because it is assumed that folks who need to meet accessibility requirements will want to do so at a site level, not at a block level.
styles.css
- Made content left aligned instead of centered.
- Made content wrap instead of being cut off if it doesn't fit in within the block width.
- Added a some styles in support of the new plain list view format.
pix/cross.gif and pix/tick.gif
- Modified the red and green background colours of these two icons to meet WCAG 2.0 colour contrast guidelines.
lang/en/block_progress.php
- Added some strings in support of new Plain view.
- Corrected a typo in the word "capabilities".
- will help resolve
-
CONTRIB-5289 Progress Bar not usable on touch devices
-
- Closed
-