From 6b226b1ae95feeab33b47bb3566a9a9651e520d5 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Thu, 11 Jan 2024 18:25:09 +0200 Subject: [PATCH] PEP 495 and 732: Add alt text to images (#3606) Co-authored-by: Petr Viktorin Co-authored-by: Hugo van Kemenade --- peps/pep-0495.rst | 8 ++++++++ peps/pep-0732.rst | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/peps/pep-0495.rst b/peps/pep-0495.rst index dc88ca603..257ed5bfd 100644 --- a/peps/pep-0495.rst +++ b/peps/pep-0495.rst @@ -37,6 +37,10 @@ will enumerate the two ambiguous times. .. image:: pep-0495-daylightsavings.png :align: center + :alt: A cartoon of a strong man struggling to stop the hands of a large clock. + The caption reads: You can't stop time... but you can turn it back one + hour at 2 a.m. Oct. 28 when daylight-saving time ends and standard time + begins." :width: 30% @@ -386,6 +390,8 @@ the ``fold`` attribute depending on the kind of the transition. .. image:: pep-0495-fold.svg :align: center + :alt: Diagram of relationship between UTC and local time around a + fall-back transition – see full description on page. :width: 60% :class: invert-in-dark-mode @@ -412,6 +418,8 @@ effect after the transition should be used. .. image:: pep-0495-gap.svg :align: center + :alt: Diagram of relationship between UTC and local time around a + spring-forward transition – see full description on page. :width: 60% :class: invert-in-dark-mode diff --git a/peps/pep-0732.rst b/peps/pep-0732.rst index ff1fa25cb..fb78cd39b 100644 --- a/peps/pep-0732.rst +++ b/peps/pep-0732.rst @@ -35,7 +35,13 @@ development community and the greater Python documentation contributors work together to achieve this: .. image:: pep-0732-concentric.drawio.svg + :align: center + :alt: Three concentric circles. At the centre: Documentation Editorial + Board, trusted group. Around this: Documentation Working Group, + volunteers who contribute to the docs. Finally, the outer circle + is the world, includes readers of the documentation. :class: invert-in-dark-mode + :width: 75% Specification