Would be nice to have a feature to automatically set alt text to the file name
See original GitHub issueHi love this extensions! Maybe I’m not using the settings correctly, but when I highlight a word then paste in the image it pastes in like this:
![](Repo_Layout.png)
but it would be really nice if the alt text could automatically be updated with the file name or path when pasting it in.
![Repo_Layout.png](Repo_Layout.png)
Thank you again for your hard work I love this extension makes documentation so much easier!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Everything you need to know to write effective alt text
Select File > Options > Accessibility and unselect Automatically generate alt text for me under Automatic Alt Text. Where to find alt text...
Read more >Accessibility: Image Alt text best practices - Siteimprove Support
Alt text for informative images Informative images are any images that add to the context of a page. If the content of a...
Read more >Image Alt Text vs. Title Text vs. File Names: What's the ...
Alt text, or alternative text, is used to display text that describes an image to “alternative” sources. Primarily, its goal is to make...
Read more >How to Add Media Title and Alt Tags Automatically in WordPress
Optimizing your website for search engines like Google is difficult. You can simplify it with this guide to add media titles and alt...
Read more >Image Alt Text: What It Is, How to Write It, and Why It Matters to ...
Also called alt tags and alt descriptions, alt text is the written copy that appears in place of an image on a webpage...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello, you can set
insertPattern
to![${imageFileName}](${imageFilePath})
or![${imageFileNameWithoutExt}](${imageFilePath})
+1, and it’s better that don’t include the extention name and the path into the alt text. File name is enough, like this