• HexesofVexes@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 days ago

    Correct, accessibility also differentiates between titles and content, to better assist readers who use a screen reader.

    • Zagorath@quokk.au
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 days ago

      I replied to the other user showing how markdown image descriptions work. Titles are added with hashes.

      # title
      ## subtitle
      
      Text
      
      ### sub-sub title
      
      Etc.
      
      • HexesofVexes@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        Screen reader should pick that up.

        It’s a bit trickier in LaTeX (depending on layout), given they convert to an untagged pdf by default using pdftex. For defaults such as section/subsection etc I think some auto-tagging has been added, but my memory is not great.

        Issues crop up when you need to hack something (e.g. indenting parts of a proof using the quote environment to aid readability, creating more complex tables, or just using coloured text to indicate element relations), and here manual tagging is a must!