Docs: Add figure captions to images
Bug: 18334770
Change-Id: I4ed95bb638b6502129d59c099de9a0cd8b16ccb4
diff --git a/src/devices/audio/usb.jd b/src/devices/audio/usb.jd
index c01105f..a033d1b 100644
--- a/src/devices/audio/usb.jd
+++ b/src/devices/audio/usb.jd
@@ -151,7 +151,11 @@
such as this is usually required:
</p>
-<img src="images/otg.jpg" style="image-orientation: 90deg;" height="50%" width="50%" alt="OTG">
+<img src="images/otg.jpg" style="image-orientation: 90deg;" height="50%" width="50%" alt="OTG" id="figure1" />
+<p class="img-caption">
+ <strong>Figure 1.</strong> On-the-go (OTG) adapter
+</p>
+
<p>
An Android device might not provide sufficient power to operate a
@@ -162,7 +166,10 @@
<a href="http://en.wikipedia.org/wiki/USB_hub">hub</a> such as this:
</p>
-<img src="images/hub.jpg" alt="Powered hub">
+<img src="images/hub.jpg" alt="Powered hub" id="figure2" />
+<p class="img-caption">
+ <strong>Figure 2.</strong> Powered hub
+</p>
<h3 id="accessoryMode">Accessory mode</h3>
@@ -434,7 +441,10 @@
also with headphones.
</p>
-<img src="images/dac.png" alt="DAC comparison">
+<img src="images/dac.png" alt="DAC comparison" id="figure3" />
+<p class="img-caption">
+ <strong>Figure 3.</strong> Comparison of two DACs
+</p>
<p>
Which design is better? The answer depends on your needs.