Add alt text for badges

The RST image directive takes an alt parameter that's used to supply an
alt attribute for the HTML image element that's generated during RST
to HTML conversion.  The alt text is useful for accessibility purposes
and is also displayed if the image source is unavailable when the HTML
is generated.  Because of the latter point, we can't rely on the
accessibility features of the SVG image, we need to maintain some info
here in the README.rst file.

Change-Id: I0dd53bf1f42a81a697c3b8201d01c5f045f16f51
This commit is contained in:
Brian Rosmaita 2016-12-01 11:56:10 -05:00
parent 03dcf8eb76
commit b6c8778ac1
1 changed files with 8 additions and 0 deletions

View File

@ -4,6 +4,14 @@ Team and repository tags
.. image:: http://governance.openstack.org/badges/glance-specs.svg
:target: http://governance.openstack.org/reference/tags/index.html
:alt: The following tags have been asserted for the Glance Specifications
repository:
"project:official",
"team:diverse-affiliation".
Follow the link for an explanation of these tags.
.. NOTE(rosmaita): the alt text above will have to be updated when
additional tags are asserted for glance-specs. (The SVG in the
governance repo is updated automatically.)
.. Change things from this point on