Currently, “bold” and “italic” markup doesn’t actually output bold and italic text (semantically); instead, it outputs strongly emphasized (<strong>) and emphasized (<em>) text. This is completely wrong and semantic markup abuse, since we can’t guarantee that bold text will only be used for strong importance or that italic text will only be used for emphasis. HTML output for this markup should be changed to general-purpose elements (i.e. *%text%* (_%text%_) should be <i>%text%</i>, not <em>%text%</em>, and **%text%** (__%text%__) should be <b>%text%</b>, not <strong>%text%</strong>).

  • onehundredsixtynine@sh.itjust.worksOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    12 hours ago

    used for accessibility purposes Screen readers do not and should not care about presentation; abusing semantic markup to indicate through emphasis that something is italic or bold is anti-accessibility.

    • actionjbone@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 hours ago

      Accessibility is about providing equivalent experiences. Presentation absolutely matters because bold, italics, etc. are used to indicate context. Markup exists to indicate context, not the other way around.

      How familiar are you with ADA 508 and the latest WCAG standards?