I guess I don't recall DW ever prompting for alt text in anything other than pics with Image Maps on them. It was an obnoxious thing whenever working with DW's map tools that was eventually removed (there was a fair amount of people who wanted it gone in the forums a few years back).
There was an option under Edit > Preferences >Accessibility to turn it off, but it looks like it has since been removed.
If you don't mind me asking, what version were you working with before moving to CC2017.5?
Have been primarily using Dreamweaver CS6.
In CC2017.5, the Linting feature (Edit > Preferences > Linting > HTML) should be drawing attention to missing Alt attributes. If you have Linting turned on, the line number for the <img> tag will turn orange in the Code View window and a small orange circled ! will appear in the bottom of the document window.
However, for some reason, my CC 2017.5 is not doing that right now (while CC 2015.2 works correctly). I'm wondering if there's a bug in the Linting feature. My "img-alt-require" is set to "true" in the preferences, but the line numbers don't go orange in my missing alt <img> tags.
I would have posted this to the uservoice bug site, however, I don't appear to have access to create new threads there under my log-in.
That is very strange, Jon. From what I know, Uservoice is a public platform. Anyone should be able to log bugs over there. Let me check with the team and get back to you.
Jon, just to be sure, can you verify whether you are using the correct log in information? You probably know this already, but the log in info for UserVoice is different from the regular Adobe log in.
I'll reply via PM to keep this thread from getting clogged up by off topic images.
img-alt-require rule is from previous version of HTML Linter in Dreamweaver which is not applicable with the current version within Dreamweaver CC 2017.
I have logged a bug to replace img-alt-require with alt-require in HTML.htmlhintrc.
You can enable the warnings for missing alt attribute in img tags by adding below rule in HTML.htmlhintrc:
OK, so to fix the problem manually...
Go to Edit > Preferences
Click Edit & Apply changes
Change the attribute "img-alt-require" to simply "alt-require" leaving the value as "true"
Save and close the HTML.htmlhintrc file
I can report that the above does highlight the line numbers with <img> tags that are missing alt attributes.
Appreciate the answer, but I wouldn't consider it a correct answer. Although this does work if you enter an image tag without an alt="" attribute, if you insert an image using the keyboard shortcut or through the File menu it will not work.
When using the keyboard shortcut or File menu to insert an image it automatically adds alt="" and therefore does not trigger the linting error.
I'm not familiar with linting in Dreamweaver, but if there was a trigger such as ("alt-value-require": true,) that would be very helpful. Although I'd still much rather prefer that Adobe add back the option to allow us to describe the image after it has been inserted through the Edit > Preferences >Accessibility option.