为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Enabling alt-text pop ups

  • 4 个回答
  • 1 人有此问题
  • 40 次查看
  • 最后回复者为 DenisT

more options

While I generally use Firefox, one of the features I find useful in Internet Explorer 8 is that "alt text" appears as a small popup on mouse-over. I've searched Firefox and Firefox Help to see if there was a feature that could be enabled for this, but have not found any references at all to alt-text. Can Firefox show "alt text"? If not, is there an add-on? If not, please submit this as a suggested feature to add in future releases.

While I generally use Firefox, one of the features I find useful in Internet Explorer 8 is that "alt text" appears as a small popup on mouse-over. I've searched Firefox and Firefox Help to see if there was a feature that could be enabled for this, but have not found any references at all to alt-text. Can Firefox show "alt text"? If not, is there an add-on? If not, please submit this as a suggested feature to add in future releases.

被采纳的解决方案

title= was introduced later for images, and Firefox being the stickler for standards will show the title but not the alt="descriptive text"

The alt= is what shows if the image does not appear (no found, for instance),, it was/became a requirement because it supposedly would help blind people read the pictures -- that was dropped (there are better methods) and so was the requirement that alt= be always used. The two are not the same thing.

If you want to show Alt= in addition to titles there is an extension, it is messy and I believe one I tried placed a tooltip that couldn't be dismissed once you moused over it -- I'm sure it improved or others have done better. Anyone writing code now should certainly be using title.

定位到答案原位置 👍 0

所有回复 (4)

more options

选择的解决方案

title= was introduced later for images, and Firefox being the stickler for standards will show the title but not the alt="descriptive text"

The alt= is what shows if the image does not appear (no found, for instance),, it was/became a requirement because it supposedly would help blind people read the pictures -- that was dropped (there are better methods) and so was the requirement that alt= be always used. The two are not the same thing.

If you want to show Alt= in addition to titles there is an extension, it is messy and I believe one I tried placed a tooltip that couldn't be dismissed once you moused over it -- I'm sure it improved or others have done better. Anyone writing code now should certainly be using title.

more options

Thanks for the info! I wasn't familiar with the alt= vs title= history. Not only did I find a plugin for the alt= at https://addons.mozilla.org/en-US/firefox/addon/popup-alt-attribute/ but I have edited my own website using title= instead of alt= for my image-mapped labels. Very useful!

more options

You're welcome, I don't make global changes to my site that fast.

more options

It was one page that was giving me issues. The rest of my site will take a while longer. ;)