Category: News

Registration open for Winter 2025 Hack/Doc Fest

The “Free Bridge” links Easton, Pennsylvania, with Phillipsburg, New Jersey

Registration is now open for the Winter 2025 Hack/Doc Fest, which will be held at Lafayette College from January 7 through January 9, 2025. CLAMP’s Hack/Doc Fests are twice-yearly unconference-style events dedicated to improving the Moodle experience for liberal arts colleges.

For CLAMP schools, CLAMP will reimburse your first night’s stay at the Grand Eastonian. There is no group rate for lodging.

New Moodle LAE Releases for October 2024

There are four new Moodle: Liberal Arts Edition releases. There are no new LAE features; these are maintenance releases only. You can download the updates from the CLAMP code release archive. The new releases are for versions 4.1, 4.2, 4.3, and 4.4.

The next stable releases are scheduled for mid-December. Moodle 4.5 has been released; CLAMP will evaluate it at the Winter 2025 Hack/Doc Fest at Lafayette College. For more information about Moodle 4.4, please read CLAMP’s recap for the Summer 2024 Hack/Doc Fest at Bryn Mawr College.

New Moodle LAE Releases for September 2024

There are four new Moodle: Liberal Arts Edition releases. There are no new LAE features; these are maintenance releases only. You can download the updates from the CLAMP code release archive. The new releases are for versions 4.1, 4.2, 4.3, and 4.4.

The next stable releases are scheduled for mid-October. Moodle 4.4 has been released; CLAMP evaluated it at the Summer 2024 Hack/Doc Fest at Bryn Mawr College.

New Moodle LAE Releases for August 2024

There are four new Moodle: Liberal Arts Edition releases. There are no new LAE features; these are maintenance releases only. You can download the updates from the CLAMP code release archive. The new releases are for versions 4.1, 4.2, 4.3, and 4.4.

The next stable releases are scheduled for mid-October. Moodle 4.4 has been released; CLAMP evaluated it at the Summer 2024 Hack/Doc Fest at Bryn Mawr College.

TeXshop icon

Making LaTeX accessible

The first question most people ask is, “Isn’t there an export option to make PDFs created in LaTeX accessible?” It may be theoretically possible, but no one has developed or maintained a package that does it successfully. The main issue is that LaTeX-to-PDF exports have equations and graphs, etc, exported as images without alt-text. In other words, these PDFs are inaccessible.

So the alternatives are to:

Our research here at Swarthmore has led us to find outdated packages for LaTeX that do not successfully export to an accessible PDF. Many were developed by folks at universities in search of a solution.

What we recommend, instead, is to prepare LaTeX for export to HTML.

Resources needed

Prepare LaTeX for export to HTML

In order to achieve 99% accessibility with any output, the easiest answer is to edit the source document. In this case, we will need to edit our LaTeX code so that the .html meets accessibility best practices.

  • Insert title in preamble metadata: \title{_} ;
  • Insert sections in document body: \section{_}, etc ;
  • Use \enumerate{_} \item \item … \end{enumerate} for numbered lists;
  • Use \itemize{_} \item \item … \end{itemize} for bulleted or unordered lists;
  • Use only one font attribute for emphasis.
  • Use all caps and italics sparingly.
  • Use color contrast according to WCAG compliance. WebAIM: Contrast Checker.
  • Use tables only for tabular information.
  • Use alt text for images, diagrams, etc. Images Tutorial | Web Accessibility Initiative (WAI) | W3C.

Export the LaTeX to HTML

  1. Download and install PANDOC to your computer / local environment if you haven’t already.
  2. Review LaTeX to HTML via PANDOC | Dan W. Joyce to understand what the codes mean.
  3. Open your Command Line Interface (CLI).
  4. Copy and paste the following command at the prompt: pandoc --shift-heading-level-by=1 --mathjax -f latex -t html -s -o <file>.html <file>.tex.

What does this have to do with Moodle?

When we discuss best practices in accessibility, we talk about

  • allowing an end user to choose their preference.
  • maintaining accessibility in the source document.

In the case of LaTeX, we have had students prefer to read the .tex file exactly as .tex because that is easier for them than the inaccessible PDF. Might we find ways to have Moodle export a .tex file to .html or .pdf or something else in some quick and easy way?

For now, we instruct faculty on how to post .html files on their Moodle sites.

Posting HTML files to Moodle

These are the current steps to post a remediated HTML to Moodle, as given to instructors at Swarthmore, where we post remediated files to Google Drive:

When downloading a folder from Google drive, it becomes a .zip file. You may choose to download each folder for your remediations and then directly upload them to your Moodle course page. Here’s how to do that.

  1. Open the Moodle course in which you’d like to place the .html.
  2. Enable Edit mode.
  3. Add an activity or resource.
  4. Choose File.
  5. Fill out the required field: Name.
  6. Choose the .zip file that contains the whole folder with everything in it.
  7. Once it’s showing in the “Select files” area, select the folder.
  8. In the dialog box that pops up, choose Unzip.
  9. You will likely see:
    • an images folder, if there are images
    • the .html or .xhtml file.
    • the original .zip file.
  10. Delete the .zip file.
  11. Select the .html or .xhtml file.
  12. Choose Set main file.
  13. Choose Save and return to course.

Some professors choose to put the .html, .tex, and keep the .pdf so students can choose from the .html, .tex, and the .pdf files. Others replace .pdfs with the .html altogether. HTML files, when done correctly, are generally more accessible than .pdfs.

For more information on posting displaying a website index page or .html to your Moodle site, refer to Moodle’s File Resource Settings page.

How you can help

  • Can you think of ways to streamline this process?
  • Can you think of ways to have Moodle export any file, including .tex or .docx or .pptx to .html or .pdf or something else in some quick and easy way? It could be by the end user (student, presumably) or the faculty.
  • Are you aware of other ways to handle STEM in an accessible manner?
  • Learn and implement accessibility practices every day!

We discussed a few of these at Hack/Doc in June and feel the project is just beginning.

Reach out to accessibility@swarthmore.edu if you have thoughts about this or other accessible STEM topics.

Additional, potentially helpful resources

Acknowledgements

The folks below contributed in various ways to our thought process about accessible STEM, particularly LaTeX.