Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Student projects/Automatic accessibility checking.

Student projects/Automatic accessibility checking: Difference between revisions

From MoodleDocs
No edit summary
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''This project was an original [[GSOC/2008#Automatic_accessibility_checking|GSoC 2008]] project, but it was cancelled because the student failed to deliver sufficient code.'''
<p class="note">This page is a ''specification under construction''! If you have any comments or suggestions, please [[Talk:Student projects/Automatic accessibility checking|share them with us]].''</p>
<p class="note">This page is a ''specification under construction''! If you have any comments or suggestions, please [[Talk:Student projects/Automatic accessibility checking|share them with us]].''</p>


==Index==
__TOC__
* [https://docs.moodle.org/en/Student_projects/Automatic_accessibility_checking/Abstract Abstract]
==Original Idea==
* [https://docs.moodle.org/en/Student_projects/Automatic_accessibility_checking/Downloads Downloads]
<p>This tool is used to make validating Moodle pages on the fly. It is a one click system on the client that takes the html source of the current page and submits it to W3C for validation. It then returns the errors and warnings in a simple GUI for easy reading and fixing.</p>
* [https://docs.moodle.org/en/Student_projects/Automatic_accessibility_checking/FAQ FAQ]
 
* [https://docs.moodle.org/en/Student_projects/Automatic_accessibility_checking/Core Core]
===JavaScript Version===
* [https://docs.moodle.org/en/Student_projects/Automatic_accessibility_checking/GetSource Get source with javascript]
* Multi-browser support
* [https://docs.moodle.org/en/Student_projects/Automatic_accessibility_checking/Soap Soap Library]
* Handling html source code in a JavaScript variable. (addslashes would be something to look into for JavaScript)
* [https://docs.moodle.org/en/Student_projects/Automatic_accessibility_checking/Validate Validate against a W3C service]
 
* [https://docs.moodle.org/en/Student_projects/Automatic_accessibility_checking/GUI GUI]
===PHP Version===
* Ajax calls conflict when given the correct state. ''Reproduce - unknown''


==Tasks==
==Tasks==
'''ToDo'''
'''ToDo'''
* Test PoC get source via js on a Mac.
* Make an experimental option in Moodle Admin to activate/deactivate
* PoC in PHP of W3C SOAP API Version 2: uploaded_file method. The document to validate, POSTed as multipart/form-data.
* Ability to include on every page
* PoC in Javascript of how to use a concrete SOAP library
* GUI version 2


'''Done'''
'''Done'''
Line 26: Line 28:
*** UML version 1
*** UML version 1
** PoC
** PoC
*** PoC in Javascript of how to use a concrete SOAP library
*** Javascript Skeleton Version 1 (directly to the recycle bin)
*** Javascript Skeleton Version 1 (directly to the recycle bin)
*** PoC in Javascript on how to take the whole source code of the current HTML.
*** PoC in Javascript on how to take the whole source code of the current HTML.
*** PoC in PHP of W3C SOAP API Version 2: uploaded_file method. The document to validate, POSTed as multipart/form-data.
**** Fix browser capability for the PoC in Javascript (Get complete source) Tested in IE 7, Firefox 2, Firefox 3 on a Windows XP Pro, still looking for a user with Mac osX.
**** Fix browser capability for the PoC in Javascript (Get complete source) Tested in IE 7, Firefox 2, Firefox 3 on a Windows XP Pro, still looking for a user with Mac osX.
*** PoC in JAvascript on how to take the whole source code of the current HTML from an external javascript file.
*** PoC in JAvascript on how to take the whole source code of the current HTML from an external javascript file.
Line 33: Line 37:
* GUI
* GUI
** Draw version 1
** Draw version 1
** GUI version 2


==See also==
==See also==
*Bug Tracker: MDL-15589
*[[GSOC/2008]]
*[[GSOC/2008]]
*[http://code.google.com/soc/2008/moodle/appinfo.html?csaid=33AE1548BF81E3CF Automatic accessibility checking application abstract]  
*[http://code.google.com/soc/2008/moodle/appinfo.html?csaid=33AE1548BF81E3CF Automatic accessibility checking application abstract]  

Latest revision as of 16:13, 17 December 2008


This project was an original GSoC 2008 project, but it was cancelled because the student failed to deliver sufficient code.

This page is a specification under construction! If you have any comments or suggestions, please share them with us.

Original Idea

This tool is used to make validating Moodle pages on the fly. It is a one click system on the client that takes the html source of the current page and submits it to W3C for validation. It then returns the errors and warnings in a simple GUI for easy reading and fixing.

JavaScript Version

  • Multi-browser support
  • Handling html source code in a JavaScript variable. (addslashes would be something to look into for JavaScript)

PHP Version

  • Ajax calls conflict when given the correct state. Reproduce - unknown

Tasks

ToDo

  • Make an experimental option in Moodle Admin to activate/deactivate
  • Ability to include on every page

Done

  • Research
    • What is the maximum length of a POST with multipart/form-data? 8M post data, and 2M upload data.
  • Core Development
    • UML
      • UML version 1
    • PoC
      • PoC in Javascript of how to use a concrete SOAP library
      • Javascript Skeleton Version 1 (directly to the recycle bin)
      • PoC in Javascript on how to take the whole source code of the current HTML.
      • PoC in PHP of W3C SOAP API Version 2: uploaded_file method. The document to validate, POSTed as multipart/form-data.
        • Fix browser capability for the PoC in Javascript (Get complete source) Tested in IE 7, Firefox 2, Firefox 3 on a Windows XP Pro, still looking for a user with Mac osX.
      • PoC in JAvascript on how to take the whole source code of the current HTML from an external javascript file.
      • PoC in PHP of W3C SOAP API Version 1: URI method
  • GUI
    • Draw version 1
    • GUI version 2

See also