Chapter 5 Proofs
Proofs are typeset with the fitch
package. These are a
challenge for blind users since the subproof lines carry important
information as they indicate where a subproof starts and ends.
Line number
|
Subproof level
|
Formula
|
Justification
|
---|---|---|---|
0
|
|
PR
|
|
1
|
|
AS
|
|
2
|
|
AS
|
|
2
|
|
E ,
|
|
2
|
|
E ,
|
|
1
|
|
I –
|
|
0
|
|
I –
|
Our solution is to converted them to HTML tables with an invisible
table header and an invisible second column. The second column
includes a number, indicating the level of subproof indentations on
the corresponding line, and <SPAN>
tags with aria-label
attributes so screen readers will announce if a subproof has just been
closed and/or a new subproof starts on the current line. The ‘PR’ and
‘AS’ labels should be pronounced ‘premise’ and ‘assumption’,
respectively, by screen readers. (This solution was suggested by
Audrey Yap, UVic, based on her experience with a blind student using
this textbook.)
This HTML solution is only available when using BookML, since it relies on commands that allow raw HTML output not provided by LaTeXML.
ChromeVox seems to have difficulty reading out the table—sometimes it doesn’t read any MathML (including the line numbers). It should maybe pause between table cells.