Skip to main content
Chemistry LibreTexts

admin

  • Page ID
    5146
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    ......Monday...... .....Wednesday.... ......Friday......
    Align
    Left (default)
    Align
    Center
    Align
    Right
    Entire Row Is Aligned Center

    I have a question. One of Josh's students a year or two ago updated a page and added a caption to tables that resembles an alt-text for images. See https://chem.libretexts.org/Bookshelves/Introductory_Chemistry/Introductory_Chemistry/02%3A_Measurement_and_Problem_Solving/2.04%3A_Significant_Figures_in_Calculations

    The problem is that text was added as the <caption> tag and that shows up as a title in the tables. The author of the page doesn't want that to be shown. I cannot find an alt-text tag for html tables (odd to me) where I would move that text to. I figure that means I have to switch to aria. So... what is the recommendation about how to handle this?

     

    Answer

    There used to be a summary attribute for tables, but it is not supported by HTML 5.  It may no longer be supported by assistive technology either.

    Instead of providing an off-screen text description, i.e., a version of alt-text, the strategy is for the content author to use tables with simple layout structures, and to provide clearly labeled columns and or rows. Then, similar to complex images, for a table that may require additional explanation, the strategy is for the content author to provide the description in the text before the table to assist all users.

     

     

     

     

    \(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \(5\, \AA\)


        admin is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by LibreTexts.

        • Was this article helpful?