✡
This is the template sandbox page for Template:Star of David (diff). See also the companion subpage for test cases. |
This template generates a Star of David symbol with alternative text. The default alt text is "Star of David". The text is not normally visible to readers, but may be displayed by web browsers when images are switched off, is read out loud by screen readers for those with visual impairment, and can be used by search engines to determine the content of the image.
Note: on mobile browsers the Unicode symbol will be rendered as an emoji in some circumstances. This template provides a workaround for those situations.
Usage
edit{{Star of David}}
produces{{Star of David|alt=star}}
produces
(The alt text is only read by screen reading software.)