mx amber alex on Nostr: #TIL: Github-flavoured Markdown supports alt text for images. Whereas the default ...
#TIL: Github-flavoured Markdown supports alt text for images.
Whereas the default syntax for pictures on Github is , it accepts an alt text in the square brackets and a description in quotation marks after the path: .
!!
The alt text is displayed if the image doesn't load and for screenreaders, the description is displayed on mouseover.
#Accessibility #ImageDescriptions #Markdown
Published at
2023-07-04 12:48:18Event JSON
{
"id": "73989539997f9998c5aaacfa630a6b487ecf891ac9da51d29df3ab5dab7345e8",
"pubkey": "d7941859c5e2d7d58744985750845f7d0935e044c7957ea33845c15a7f7788a0",
"created_at": 1688474898,
"kind": 1,
"tags": [
[
"t",
"til"
],
[
"t",
"accessibility"
],
[
"t",
"imagedescriptions"
],
[
"t",
"markdown"
],
[
"mostr",
"https://eldritch.cafe/users/amberage/statuses/110655890953785890"
]
],
"content": "#TIL: Github-flavoured Markdown supports alt text for images.\n\nWhereas the default syntax for pictures on Github is , it accepts an alt text in the square brackets and a description in quotation marks after the path: .\n\n!!\n\nThe alt text is displayed if the image doesn't load and for screenreaders, the description is displayed on mouseover.\n\n#Accessibility #ImageDescriptions #Markdown",
"sig": "6644d014a0b0210299f1003ed722be4e42df8ccd99f28c0f75dff947c38cf889ac6a22e47bbd4bc7782f2060b9aca00bf08824b4d0c17828be478fa08bf48668"
}