Make img alt information available
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- php
- Ambito
- backend-api-design
Direzione di ricerca
Start by reading the mf2 parsing path that turns image properties into XRay output, then inspect the JF2 representation and its specification, which the issue links. Compare the proposed img+alt and indexed-list options and establish which representation should be used before making changes. Done means consumers can access image alt text without breaking existing output; verify with relevant parser and output tests.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Currently, when parsing mf2 data which includes alt information for properties parsed from images, XRay has no way of making the alt information available to library consumers.
This might additionally be a JF2 issue, as the current spec doesn’t mention image alt values at all https://jf2.spec.indieweb.org/
Potential solutions which come to mind:
- Provide img+alt structures where alt information is available, forcing consumers to check whether every image-based property is a string or img+alt array before consuming (breaks existing code)
- Provide img+alt structures by default on every property which is parsed as an image, with empty alt values if none is found. Breaks existing code but is more consistent.
- Use either the ref(erences) list or a new “alts” list on jf2 objects to provide the alt value, indexed by the image URL. This would not break any existing code afaik
- Lingua principale
- PHP
- Stelle
- 96
- Fork
- 17
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di aaronpk/XRay
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 54/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Flattening of video sourcesAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Tutte le issue di aaronpk/XRay
Issue simili
-
Map Info Window ButtonsAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
OpenGIS/waymark-wp#82 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
BUG: Workspace module renders review twice after "Discard selected changes" (hx-target=table)Aperta9.1 9.2 Bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
neos/neos-development-collection#6046 ·
I maintainer di solito rispondono entro 1 giorno
-
[Sync EN] Pdo\Pgsql: document session state reset on persistent connections (PHP 8.6) (#6084)Forse già presa @lacatoire l’ha presa oggi. Apertasync-en
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Перевод устарел
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno