Add alt text for badges

The RST image directive takes an alt paramter that's used to supply
an alt attribute for the HTML image element that's generated during
RST -> 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: I3d9e6710b6eadb01f2454d201b62b06b37794ab0
This commit is contained in:
Brian Rosmaita 2016-11-30 11:22:20 -05:00
parent fc5ff39a74
commit 706a3fdc2b
1 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,11 @@ Team and repository tags
.. image:: http://governance.openstack.org/badges/searchlight.svg
:target: http://governance.openstack.org/reference/tags/index.html
:alt: Searchlight is an official OpenStack project as indicated by
the "project:official" badge
.. NOTE(rosmaita): the alt text above will have to be updated when
additional tags are asserted for Searchlight. (The SVG in the
governance repo is updated automatically.)
.. Change things from this point on