{"id":14067874,"url":"https://github.com/matt-dray/altcheckr","last_synced_at":"2025-03-16T21:31:12.949Z","repository":{"id":112692448,"uuid":"205589601","full_name":"matt-dray/altcheckr","owner":"matt-dray","description":":sunrise_over_mountains: :white_check_mark: R package: assess image alt text on websites","archived":false,"fork":false,"pushed_at":"2021-01-18T17:37:42.000Z","size":553,"stargazers_count":7,"open_issues_count":9,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-09T01:11:57.567Z","etag":null,"topics":["accessibility","alt-text","package","r","rpackage","rstats","webscraping"],"latest_commit_sha":null,"homepage":"https://matt-dray.github.io/altcheckr/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matt-dray.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-08-31T19:48:49.000Z","updated_at":"2023-05-10T10:17:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"e8eaa369-173a-435d-8c7b-23183fde6b39","html_url":"https://github.com/matt-dray/altcheckr","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-dray%2Faltcheckr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-dray%2Faltcheckr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-dray%2Faltcheckr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-dray%2Faltcheckr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matt-dray","download_url":"https://codeload.github.com/matt-dray/altcheckr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243832996,"owners_count":20355185,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["accessibility","alt-text","package","r","rpackage","rstats","webscraping"],"created_at":"2024-08-13T07:05:49.494Z","updated_at":"2025-03-16T21:31:12.486Z","avatar_url":"https://github.com/matt-dray.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"# {altcheckr} \u003cimg src='man/figures/logo.png' align=\"right\" height=\"139\" /\u003e\n\nAn experimental R package to assess the alternative (alt) text from a web page.\n\n\u003c!-- badges: start --\u003e\n[![Project Status: Inactive – The project has reached a stable, usable state but is no longer being actively developed; support/maintenance will be provided as time allows.](https://www.repostatus.org/badges/latest/inactive.svg)](https://www.repostatus.org/#inactive)\n[![R build status](https://github.com/matt-dray/altcheckr/workflows/R-CMD-check/badge.svg)](https://github.com/matt-dray/altcheckr/actions)\n[![Coverage status](https://codecov.io/gh/matt-dray/altcheckr/branch/master/graph/badge.svg)](https://codecov.io/github/matt-dray/altcheckr?branch=master)\n[![CodeFactor](https://www.codefactor.io/repository/github/matt-dray/altcheckr/badge)](https://www.codefactor.io/repository/github/matt-dray/altcheckr)\n[![CRAN status](https://www.r-pkg.org/badges/version/oystr)](https://CRAN.R-project.org/package=oystr)\n[![Blog post](https://img.shields.io/badge/rostrum.blog-post-008900?labelColor=000000\u0026logo=data%3Aimage%2Fgif%3Bbase64%2CR0lGODlhEAAQAPEAAAAAABWCBAAAAAAAACH5BAlkAAIAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAEAAQAAAC55QkISIiEoQQQgghRBBCiCAIgiAIgiAIQiAIgSAIgiAIQiAIgRAEQiAQBAQCgUAQEAQEgYAgIAgIBAKBQBAQCAKBQEAgCAgEAoFAIAgEBAKBIBAQCAQCgUAgEAgCgUBAICAgICAgIBAgEBAgEBAgEBAgECAgICAgECAQIBAQIBAgECAgICAgICAgECAQECAQICAgICAgICAgEBAgEBAgEBAgICAgICAgECAQIBAQIBAgECAgICAgIBAgECAQECAQIBAgICAgIBAgIBAgEBAgECAgECAgICAgICAgECAgECAgQIAAAQIKAAAh%2BQQJZAACACwAAAAAEAAQAAAC55QkIiESIoQQQgghhAhCBCEIgiAIgiAIQiAIgSAIgiAIQiAIgRAEQiAQBAQCgUAQEAQEgYAgIAgIBAKBQBAQCAKBQEAgCAgEAoFAIAgEBAKBIBAQCAQCgUAgEAgCgUBAICAgICAgIBAgEBAgEBAgEBAgECAgICAgECAQIBAQIBAgECAgICAgICAgECAQECAQICAgICAgICAgEBAgEBAgEBAgICAgICAgECAQIBAQIBAgECAgICAgIBAgECAQECAQIBAgICAgIBAgIBAgEBAgECAgECAgICAgICAgECAgECAgQIAAAQIKAAA7)](https://www.rostrum.blog/2019/12/08/altcheckr/)\n\n\u003c!-- badges: end --\u003e\n\n## Description\n\nScrape image element attributes from a webpage, detect alternative (alt) text and assess it with simple heuristics. Alt text is important for users of assistive technologies, like screen readers, for understanding the content of images. This package should be used in conjunction with other accessibility assessment tools for more comprehensive coverage.\n\n[Read more about this package in the accompanying blog post.](https://www.rostrum.blog/2019/12/08/altcheckr/)\n\n## Use\n\nInstall from GitHub using the {remotes} package:\n\n```\ninstall.packages(\"remotes\")\nremotes::install_github(\"matt-dray/altcheckr\")\nlibrary(altcheckr)\n```\n\nThere are two major functions for now:\n\n* `alt_get()` creates a tibble of HTML attributes for each 'img' element on a supplied web page\n* `alt_check()` performs basic checks of the alt text for each image\n\nSee the 'introduction to {altcheckr} functions' vignette for more information: run `vignette(\"introduction\", altcheckr)` or visit [the {altcheckr} website](https://www.matt-dray.github.io/altcheckr/articles/introduction.html).\n\nRight now, the `alt_check()` function flags when alt text:\n\n* is missing (but this is okay if the image is decorative)\n* is noticeably short or long (length can be controlled by the user)\n* contains self-evident phrases ('image of', 'picture of', etc)\n* is missing terminal punctuation, which interferes with how the sentence is parsed\n\nAnd it also:\n\n* highlights words that may be misspelled, via the {hunspell} package\n* returns a list of words that don't appear to be basic English\n\n## Links\n\n* Wikipedia's page for [the alt attribute](https://en.wikipedia.org/wiki/Alt_attribute)\n* W3C's [web accessibility tutorials on images](https://www.w3.org/WAI/tutorials/images/), including [a decision tree for using alt text](https://www.w3.org/WAI/tutorials/images/decision-tree/)\n* Web Content Accessibility Guidelines (WCAG) [overview](https://www.w3.org/WAI/standards-guidelines/wcag/)\n* Royal National Institute of Blind People's (RNIB) [accessibility guidelines for alt text](https://www.rnib.org.uk/accessibility-guidelines-alt-text-what-you-need-know)\n\n## Code of conduct\n\nPlease note that the 'altcheckr' project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By contributing to this project, you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatt-dray%2Faltcheckr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatt-dray%2Faltcheckr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatt-dray%2Faltcheckr/lists"}