浏览代码

Fix bumper labeling for accessibility (#4222)

Jon Ross-Perkins 1 年之前
父节点
当前提交
696668ccb0
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      README.md

+ 2 - 3
README.md

@@ -29,10 +29,9 @@ https://drive.google.com/drive/folders/1QrBXiy_X74YsOueeC0IYlgyolWIhvusB
 
 <!--
 Don't let the text wrap too narrowly to the left of the above image.
-The `div` reduces the vertical height.
-GitHub will autolink `img`, but won't produce a link when `href="#"`.
+The `div` reduces the vertical height. The `picture` prevents autolinking.
 -->
-<div><a href="#"><img src="docs/images/bumper.png"></a></div>
+<div><picture><img src="docs/images/bumper.png" alt=""></picture></div>
 
 **Fast and works with C++**