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: I1ca4a4d84cbb87c696b98d2d1d14f9ef792fcff6
This commit is contained in:
Brian Rosmaita
2016-12-01 12:37:33 -05:00
parent 36aeb8cc9c
commit 1505a47ff3

View File

@@ -4,9 +4,20 @@ Team and repository tags
.. image:: http://governance.openstack.org/badges/python-glanceclient.svg
:target: http://governance.openstack.org/reference/tags/index.html
:alt: The following tags have been asserted for Python bindings to the
OpenStack Images API:
"project:official",
"stable:follows-policy",
"vulnerability:managed",
"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 python-glanceclient. (The SVG in the
governance repo is updated automatically.)
.. Change things from this point on
===========================================
Python bindings to the OpenStack Images API
===========================================