Non-core contributed modules

Accessibility Block

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9.4
  • Fix Version/s: None
  • Component/s: Block: Accessibility
  • Labels:
    None
  • Environment:
    Should be universal, see description for testing details.
  • Affected Branches:
    MOODLE_19_STABLE

Description

This block adds a set of buttons, like those seen on a lot of websites, to provide accessibility options. It extends on the idea behind Mike Wilson's Accessibility Options block[1], but tries to be easier to integrate, with minimum manual theme hacking.

Currently, the block allows the user to change the size of the text (other features, such as changing background colour, are planned). The customised size is stored in the user's session, allowing it to persist between pages. There is also a button to save the settings to the block's database table, allowing the setting to persist between sessions.
The block works without javascript, but also features AJAX enhancements.

I have tested the block on Firefox 3, IE 8 and webkit browsers, all of which work as expected. I have also tested on IE6, where the functionality works, but the block doesn't appear correctly. Any gurus at IE6 CSS hacks, help would be appreciated.

There are also a couple of known bugs, which I will report separately once the code has been reviewed.

The block requires a one-line patch to the header.html files of any themes used on the site, in order to load the per-user stylesheet. Details of this can be found in the doc block in block_accessibility.php

[1] http://moodle.org/mod/data/view.php?d=13&rid=1044

Issue Links

Activity

Hide
Mark Johnson added a comment -

Linked reports of the "known bugs" mentioned in the description

Show
Mark Johnson added a comment - Linked reports of the "known bugs" mentioned in the description
Hide
Mark Johnson added a comment -

Updated version with patch to resolve CONTRIB-1416 and CONTRIB-1417 applied

Show
Mark Johnson added a comment - Updated version with patch to resolve CONTRIB-1416 and CONTRIB-1417 applied
Hide
Anthony Borrow added a comment -

Mark - Sorry for the delay in responding to this tracker issue. I have been swamped with summer projects and am always less productive when I am on the road. I will hopefully return to Berkeley this evening where I can evaluate the work that you have done. Thanks for your patience. Peace - Anthony

Show
Anthony Borrow added a comment - Mark - Sorry for the delay in responding to this tracker issue. I have been swamped with summer projects and am always less productive when I am on the road. I will hopefully return to Berkeley this evening where I can evaluate the work that you have done. Thanks for your patience. Peace - Anthony
Hide
Mark Johnson added a comment -

No worries, I assumed you were busy with something!

Show
Mark Johnson added a comment - No worries, I assumed you were busy with something!
Hide
Mark Johnson added a comment -

New version of the block with the alternative colour scheme buttons implemented - see CONTRIB-1495

Show
Mark Johnson added a comment - New version of the block with the alternative colour scheme buttons implemented - see CONTRIB-1495
Hide
Anthony Borrow added a comment -

Mark - OK, I am back and want to get this resolved for you. Could you verify that what is uploaded with this issue is the most up to date block. I want to be able to knock out CONTRIB-1416, CONTRIB-1417, CONTRIB-1418, and possibly CONTRIB-1495 in one shot. So if you could help clarify the relationship to them that would help. My plan of attack is to use the latest version upload it to CVS, create a component in the tracker, bump your tracker privileges so you can manage issues related to your block and then give you CVS write access so that you can update. I just want to make sure we have the best version before I start. Thanks for your documentation and sharing of the code. Once we get this in CONTRIB we can then update the download link and make sure things are set up as optimally as possible. Peace - Anthony

Show
Anthony Borrow added a comment - Mark - OK, I am back and want to get this resolved for you. Could you verify that what is uploaded with this issue is the most up to date block. I want to be able to knock out CONTRIB-1416, CONTRIB-1417, CONTRIB-1418, and possibly CONTRIB-1495 in one shot. So if you could help clarify the relationship to them that would help. My plan of attack is to use the latest version upload it to CVS, create a component in the tracker, bump your tracker privileges so you can manage issues related to your block and then give you CVS write access so that you can update. I just want to make sure we have the best version before I start. Thanks for your documentation and sharing of the code. Once we get this in CONTRIB we can then update the download link and make sure things are set up as optimally as possible. Peace - Anthony
Hide
Mark Johnson added a comment -

Hi Anthony,
The latest version on the tracker includes fixes for CONTRIB-1417, CONTRIB-1418, and CONTRIB-1495. I have an updated version that I haven't uploaded, but decided to wait until it was in CVS as I have some contributions from others to add in as well. Putting the latest version on this issue into CVS is the best bet.

Thanks
Mark

Show
Mark Johnson added a comment - Hi Anthony, The latest version on the tracker includes fixes for CONTRIB-1417, CONTRIB-1418, and CONTRIB-1495. I have an updated version that I haven't uploaded, but decided to wait until it was in CVS as I have some contributions from others to add in as well. Putting the latest version on this issue into CVS is the best bet. Thanks Mark
Hide
Anthony Borrow added a comment -

Thanks Mark for clarifying. I have uploaded the most recent attached version to CVS. In addition, I went ahead and provided a quick Spanish language pack for the block. A native speaker may have improvements but it is a start. I created the component Block: Accessibility in the tracker and set you to be the component lead so all issues related to it will automatically be assigned to you. I bumped your privileges in the tracker so that you can manage issues related to the Accessibility block. I also added contrib/plugins/blocks/accessibility to the list of paths that you have CVS write access for. So you should have everything you need. I usually ask that folks review http://docs.moodle.org/en/Development:Guidelines_for_contributed_code to make sure we have covered all the bases in terms of documentation, module and plugin entry, etc. I know many of these are done but it never hurts. Let me know when you update the M&P entry with the new download link (give it 24 hours to be created) so that I can make sure it gets re-approved quickly. I am going to resolve and close CONTRIB-1417, CONTRIB-1418, and CONTRIB-1495. Keep in mind when you make a commit it is preferred that you include the tracker number in the commit comment so that it links back to the tracker. This helps a great deal with documentation of changes. If I have overlooked anything or you have any questions whatever just let me know. Peace - Anthony

Show
Anthony Borrow added a comment - Thanks Mark for clarifying. I have uploaded the most recent attached version to CVS. In addition, I went ahead and provided a quick Spanish language pack for the block. A native speaker may have improvements but it is a start. I created the component Block: Accessibility in the tracker and set you to be the component lead so all issues related to it will automatically be assigned to you. I bumped your privileges in the tracker so that you can manage issues related to the Accessibility block. I also added contrib/plugins/blocks/accessibility to the list of paths that you have CVS write access for. So you should have everything you need. I usually ask that folks review http://docs.moodle.org/en/Development:Guidelines_for_contributed_code to make sure we have covered all the bases in terms of documentation, module and plugin entry, etc. I know many of these are done but it never hurts. Let me know when you update the M&P entry with the new download link (give it 24 hours to be created) so that I can make sure it gets re-approved quickly. I am going to resolve and close CONTRIB-1417, CONTRIB-1418, and CONTRIB-1495. Keep in mind when you make a commit it is preferred that you include the tracker number in the commit comment so that it links back to the tracker. This helps a great deal with documentation of changes. If I have overlooked anything or you have any questions whatever just let me know. Peace - Anthony
Hide
Anthony Borrow added a comment -

moving to newly created component

Show
Anthony Borrow added a comment - moving to newly created component

People

Vote (1)
Watch (4)

Dates

  • Created:
    Updated:
    Resolved: