-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Image Description Disclosure Example: Revised alt and figcaption text…
… and left align figcaption (pull #315) Made the following updates for issue #264. 1. Made the alt text and figcaption text different so the alt text is brief and the caption is more detailed: * Revise alt text to be shorter. * Revise figcaption text to include english translation of text that is in the figure. 2. To be consistent with HTML requirements for figcaption, made `figcaption` last element in `figure`. * Structured text in figcaption element with `<p>` elements. * Moved disclosure button and disclosure content inside of the `<figcaption>` element. 3. Updated CSS to improve styling and left align the caption.
- Loading branch information
Showing
3 changed files
with
30 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,3 +37,6 @@ figure button[aria-expanded="true"]:before { | |
padding-right: 0.25em; | ||
} | ||
|
||
figure figcaption { | ||
text-align: left; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters