Copy alt text to title [Branched from: WildCard Find & Replace Question]
fabulous, able add code (alt=" ") image not have one. there way similar task , have replace function fill in text based on existing info.?
my situation have images alt text , have add title info. image (title=" ") duplicate of alt text.
so, there way tell system find alt text tags , replace them alt text , title tag, title tag duplicate of alt info.?
find alt="*.*"
replace alt="*.*" title="*.*"
i tried *.* , not work.
please don't add new questions year-old thread. have branched new thread.
first of all, although it's possible want, it's not idea. purpose of alt text provide description of image benefit of text-only browsers , assistive technology blind. purpose of title attribute add information.
if both alt text , title attribute contain same information, information read aloud twice screen readers blind, driving them stir crazy.
having said that, if you're determined go ahead, how it.
- back file(s) want edit.
- in find , replace dialog box, select search source code
- put following in find field: alt="([^"]+)"
- put following in replace field: alt="$1" title="$1"
- select "use regular expression" checkbox.
- click replace all.
the values find , replace fields must copied are.
More discussions in Dreamweaver support forum
adobe
Comments
Post a Comment