Closed
Description
This example illustrates the loss of image alt text during microformats parsing.
<div class="h-entry">
<p class="p-name e-content">Hello World</p>
<img class="u-photo" src="globe.gif" alt="spinning globe animation">
</div>
{
"type": [
"h-entry"
],
"properties": {
"name": [
"Hello World"
],
"photo": [
"http://example.com/globe.gif"
],
"content": [
{
"html": "Hello World",
"value": "Hello World"
}
]
}
}
This will occur any time the <img>
tag appears outside of other microformats properties.
This means it's impossible for a consumer of the parsed h-entry
to reconstruct a representation of the post that includes the alt text.
This is blocking w3c/Micropub#34
Metadata
Metadata
Assignees
Labels
No labels