12 Replies Latest reply on Oct 5, 2017 7:40 AM by ALsp

    Prompt for alt description in images

    Mrhope

      Version: Dreamweaver CC 2017.5

      OS: Windows 10

       

      In previous versions of Dreamweaver you could have the option to prompt for an alt description when inserting a new image. Is this another feature that Adobe has decided to remove or is there a way to get this prompt back?

        • 1. Re: Prompt for alt description in images
          Jon Fritz II Adobe Community Professional & MVP

          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?

          • 2. Re: Prompt for alt description in images
            Mrhope Level 1

            Have been primarily using Dreamweaver CS6.

            • 3. Re: Prompt for alt description in images
              Jon Fritz II Adobe Community Professional & MVP

              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.

               

              EDIT: Preran

               

              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.

              • 4. Re: Prompt for alt description in images
                Preran Adobe Employee

                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.

                 

                Thanks,

                Preran

                • 5. Re: Prompt for alt description in images
                  Preran Adobe Employee

                  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.

                   

                  Thanks,

                  Preran

                  • 6. Re: Prompt for alt description in images
                    Jon Fritz II Adobe Community Professional & MVP

                    I'll reply via PM to keep this thread from getting clogged up by off topic images.

                    • 7. Re: Prompt for alt description in images
                      yshivaprasad Adobe Employee

                      Hello Jon,

                       

                      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:

                      "alt-require": true

                       

                      Regards

                      • 8. Re: Prompt for alt description in images
                        Jon Fritz II Adobe Community Professional & MVP

                        OK, so to fix the problem manually...

                         

                        Go to Edit > Preferences
                        Choose Linting

                        Highlight HTML

                        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.

                        • 9. Re: Prompt for alt description in images
                          Mrhope Level 1

                          Hey Jon,

                           

                          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.

                          • 10. Re: Prompt for alt description in images
                            Jon Fritz II Adobe Community Professional & MVP

                            You can add alt text to the image in the right side of the Properties window too (Window > Properties or F8 if it's not open), just after inserting....

                             

                            alt.jpg

                             

                            ...it's not a prompt, but it's easy enough to click and start typing as soon as you hit Ctrl + Alt +i

                            • 11. Re: Prompt for alt description in images
                              Niharika Gupta Adobe Employee

                              Hi,

                               

                              This has been fixed and will be available in the next public release of Dreamweaver.

                               

                              Regards,

                              Niharika Gupta

                              Adobe Dreamweaver

                              • 12. Re: Prompt for alt description in images
                                ALsp Level 4

                                Mrhope  wrote

                                 

                                Have been primarily using Dreamweaver CS6.

                                Continue using CS6. It's a more stable program. There is nothing of value in Dreamweaver CC. CS6 is available uder previous applications in the create cloud app.