[Feature]: add failsafe if labels in alt text/captions csv contain "fig-"
Open
@sbreitbart-NOAA is already working on this.
Since Apr 14, 2026.
enhancement
triage_needed
- Dominant language
- R
- Stars
- 44
- Forks
- 10
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 18
Description
Is your feature request related to a problem? Please describe.
It's understandable that someone would set up the workflow with identical labels in the captions/alt text csv and code chunks. However, labels in the csv don't need to contain "fig-". If they do, add_alttext() will likely fail because the labels in the code chunks are identical to the labels in the csv. Labels in the csv need to be identical to labels in the code chunks MINUS "fig-" or "tab-".
Describe the solution you would like.
Add failsafe that checks alt text/captions csv's "labels" column and alerts user if if labels contain "fig-" or "tab-".
Describe alternatives you have considered
NA
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.