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: I598a99237b8581995e79be96172a42a752107357
This commit is contained in:
Brian Rosmaita 2016-11-30 20:44:59 -05:00
parent b6d44cdce5
commit 5fc8057e6b
1 changed files with 13 additions and 0 deletions

View File

@ -4,6 +4,19 @@ Team and repository tags
.. image:: http://governance.openstack.org/badges/glance.svg
:target: http://governance.openstack.org/reference/tags/index.html
:alt: The following tags have been asserted for the Glance project:
"project:official",
"tc:approved-release",
"stable:follows-policy",
"tc:starter-kit:compute",
"vulnerability:managed",
"team:diverse-affiliation",
"assert:supports-upgrade",
"assert:follows-standard-deprecation".
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. (The SVG in the
governance repo is updated automatically.)
.. Change things from this point on