diff --git a/frontend/src/components/ArticleReader.jsx b/frontend/src/components/ArticleReader.jsx index edb008b..246ae7c 100644 --- a/frontend/src/components/ArticleReader.jsx +++ b/frontend/src/components/ArticleReader.jsx @@ -101,6 +101,10 @@ export default function ArticleReader({ // report — is the page's business and fetches its own; the reader knows the // shape of the article and nothing about who is reading it. sectionTools = null, + // The QBank door, drawn in the controls row beside the reading switches. + // Passed in rather than built here for the same reason as the toolbar: what + // is behind it depends on who is reading, which the reader does not know. + qbank = null, children, }) { // Which sections are open. Everything starts closed: an article is a reference @@ -317,12 +321,18 @@ export default function ArticleReader({ {hasSummary && fallback && ( /* "High yield", not "Summary": the section it shows is already called Summary, and a control naming the thing it reveals reads as a label - for it rather than a switch over it. This says what it is for. */ + for it rather than a switch over it. This says what it is for. + + And no "on"/"off" after it. A switch that is lit is on — saying so + in words as well makes the reader parse a sentence to learn what the + colour already told them, and "High yield off" reads for a moment + like a thing you could be looking at. `aria-pressed` carries the + state for anyone who cannot see the lit state. */ )} {full.length > 1 && ( @@ -423,6 +433,7 @@ export default function ArticleReader({ article you have got to once the title has gone. */}