5709a7858d5c197721be66d5218a79124abadb70 lrnassar Tue Mar 17 08:46:31 2026 -0700 Adding alt text to images across static documentation pages, CGI headers, markdown docs, and Pandoc templates. Content images receive AI-generated descriptive alt text; decorative images (icons, spacers, toggles) receive alt="" per WCAG best practice. Also adds Image Descriptions section to the accessibility page, and fixes Pandoc Lua writers to output alt attributes. 67 files, covering help docs, news archive, ENCODE pages, portal pages, and session examples. refs #37254 diff --git src/hg/htdocs/template.html src/hg/htdocs/template.html index 92a461724af..d73ac74af0f 100755 --- src/hg/htdocs/template.html +++ src/hg/htdocs/template.html @@ -157,23 +157,23 @@

Section with a picture and caption

Use the "img" tag to include the picture file, which is typically in .jpg or .png format. Images should normally have their "width" and "height" attributes set in the "img" element. The caption is a "p" element, which is assigned the "gbsCaption" class. To center the image, wrap it in a "div" or "p" element, and add the bootstrap "text-center" class to the wrapper element (also adding to a caption if present).

In the special case where an image is used as a character/symbol embedded inline in a paragraph, add the class "gbsInlineImg" to the image tag, i.e. here's the wrench -().

+().

Genome Browser staff

Browser staff in native habitat.