Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessibility:Inline images are often without alt text #242

Open
cnrdh opened this issue Nov 16, 2023 · 2 comments
Open

Accessibility:Inline images are often without alt text #242

cnrdh opened this issue Nov 16, 2023 · 2 comments

Comments

@cnrdh
Copy link
Member

cnrdh commented Nov 16, 2023

Example: https://akvaplan.no/en/news/2023-11-15/from-portugal-to-the-arctic-for-experiments-on-thermal-events-effects-on-marine-forest-habitats
image

@cnrdh
Copy link
Member Author

cnrdh commented Nov 16, 2023

The alt text could be pulled from Mynewsdesk API, but a little unwieldy since the URL used has yet another id:
https://resources.mynewsdesk.com/image/upload/f_auto,t_limit_1000/uuyynpmhxjwbc3o7zmct.jpg

See also #240

@cnrdh
Copy link
Member Author

cnrdh commented Nov 16, 2023

Largely be solved by #243

~/akvaplan-niva/akvaplan_fresh$ deno run --unstable-kv --env --allow-env --allow-net=api.deno.com kv/jobs/list.ts mynewsdesk_cloudinary | grep uuyynpmhxjwbc3o7zmct
{
    "key": [
        "mynewsdesk_cloudinary",
        "uuyynpmhxjwbc3o7zmct"
    ],
    "value": {
        "newsdeskML": "2.1",
        "type_of_media": "image",
        "language": "fr",
        "source_id": 63132,
        "source_name": "Akvaplan-niva",
        "pressroom_name": "Akvaplan-niva",
        "pressroom": "no",
        "pressroom_id": 69134,
        "organization_number": "937375158",
        "id": 2907281,
        "url": "https://akvaplan.no/images/pxl-20230621-083115601-2-2907281",
        "published_at": {
            "text": "2023-11-15 08:00:00",
            "datetime": "2023-11-15T07:00:00Z"
        },
        "created_at": {
            "text": "2023-11-15 16:20:33",
            "datetime": "2023-11-15T15:20:33Z"
        },
        "updated_at": {
            "text": "2023-11-15 16:20:54",
            "datetime": "2023-11-15T15:20:54Z"
        },
        "position": 0,
        "links": [],
        "header": "PXL_20230621_083115601 (2)",
        "summary": null,
        "photographer": null,
        "image_name": "PXL_20230621_083115601 (2)",
        "image_format": ".jpg",
        "image_size": 358871,
        "image_dimensions": "1528 x 1095",
        "image_license": "Media Use",
        "image": "https://resources.mynewsdesk.com/image/upload/c_fill,dpr_auto,f_auto,g_auto,q_auto:good,w_1782/uuyynpmhxjwbc3o7zmct",
        "download_url": "https://resources.mynewsdesk.com/image/upload/fl_attachment/uuyynpmhxjwbc3o7zmct",
        "image_small": "https://resources.mynewsdesk.com/image/upload/c_fill,dpr_auto,f_auto,g_auto,q_auto:good,w_746/uuyynpmhxjwbc3o7zmct",
        "image_medium": "https://resources.mynewsdesk.com/image/upload/c_fill,dpr_auto,f_auto,g_auto,q_auto:good,w_746/uuyynpmhxjwbc3o7zmct",
        "image_thumbnail_large": "https://resources.mynewsdesk.com/image/upload/c_fill,dpr_auto,f_auto,g_auto,h_500,q_auto:good,w_500/uuyynpmhxjwbc3o7zmct",
        "image_thumbnail_medium": "https://resources.mynewsdesk.com/image/upload/c_fill,dpr_auto,f_auto,g_auto,h_250,q_auto:good,w_250/uuyynpmhxjwbc3o7zmct",
        "image_thumbnail_small": "https://resources.mynewsdesk.com/image/upload/c_fill,dpr_auto,f_auto,g_auto,h_250,q_auto:good,w_250/uuyynpmhxjwbc3o7zmct",
        "tags": [],
        "related_items": []
    },
    "versionstamp": "000000000005b7d30000"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant