是否建议更换图像? [英] Is image replacement recommended?

查看:64
本文介绍了是否建议更换图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


有一次,建议更换图像是一种很好的方法来获得结构良好的标记,同时给用户带来愉快的感受

视觉上。但是,我最近看到一些文章说它不是一个好主意因为它有可访问性问题。


建议是什么?这个想法很有吸引力,但我不想为了糖果而牺牲可用性。 TIA


-

Alan Silver

(此行下方添加的任何内容都与我无关)

Hello,

At one time, image replacement was recommended as being a good way to
have well structured markup, whilst giving the user something pleasant
visually. However, I have seen a few articles recently saying that it
isn''t a good idea as it has accessibility problems.

What is the recommendation? The idea is attractive, but I don''t want to
sacrifice accessibility for eye candy. TIA

--
Alan Silver
(anything added below this line is nothing to do with me)

推荐答案

Alan Silver写道:
Alan Silver wrote:
有一次,建议更换图像作为
具有良好的结构化标记,同时为用户提供视觉上令人愉快的东西。但是,我最近看到一些文章说它并不是一个好主意,因为它有可访问性问题。

建议是什么?
At one time, image replacement was recommended as being a good way to
have well structured markup, whilst giving the user something pleasant
visually. However, I have seen a few articles recently saying that it
isn''t a good idea as it has accessibility problems.

What is the recommendation?




取决于你的要求。我还没有看到一个CSS替换解决方案

没有严重的可访问性问题。 JavaScript解决方案给用户留下了b $ b,文字没有干净地调整大小(PNG没有击败TrueType,因为它会缩小尺寸;)


-

David Dorward< http://blog.dorward.me.uk/> < http://dorward.me.uk/>

Home是〜/ .bashrc的位置



Depends on who you ask. I''m yet to see a CSS replacement solution that
doesn''t have serious accessibility issues. JavaScript solutions leave users
with text that doesn''t resize cleanly (PNG doesn''t beat TrueType when it
comes to scaling ;).

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


Alan Silver写道:
Alan Silver wrote:

有一次,建议将图像替换作为一种良好的方式来获得结构良好的标记,同时为用户提供视觉上令人愉悦的东西。但是,我最近看到一些文章说它并不是一个好主意,因为它有可访问性问题。

At one time, image replacement was recommended as being a good way to
have well structured markup, whilst giving the user something pleasant
visually. However, I have seen a few articles recently saying that it
isn''t a good idea as it has accessibility problems.




图像替换来了,不是因为结构化标记,但是因为它被认为对搜索引擎更好,其中很多都不是b $ b bb索引alt文本。使用

< img>时,确实没有任何可访问性问题。具有正确替代文字的元素。


如果你愿意,可以使用eye candy,只要注意其后果,并且b $ b首先考虑你的目标受众需要什么。请注意,您的目标

观众通常不是搜索引擎,至少不是首要的。


-

回复电子邮件地址是一个无底的垃圾邮件桶。

请回复群组,以便每个人都可以分享。



Image replacement came about, not because of structured markup, but
because it was deemed better for search engines, many of which don''t
index alt text. There aren''t really any accessibility problems using
<img> elements with proper alt text.

Use eye candy if you want, just be aware of the consequences and
consider what your target audience needs first. Note that your target
audience is not usually search engines, at least not first and foremost.

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.


kchayka< us **** @ c -net.us>写道:
kchayka <us****@c-net.us> wrote:
使用
< img>时,实际上并没有任何可访问性问题。具有正确替代文字的元素。
There aren''t really any accessibility problems using
<img> elements with proper alt text.




除了相当基本的问题,图像通常不会缩小到用户的b $ b情况,当特别编码时,由于浏览器图像大小调整,效果

是丑陋的,从而打败了使用文本图像的原始原因:更漂亮的文字。< br $>

-

Spartanicus



Apart from the rather fundamental issue that images don''t normally scale
to the user''s situation, and when specifically coded to do so the effect
is ugly due to browser image resizing, thereby defeating the original
reason for using images of text: prettier text.

--
Spartanicus


这篇关于是否建议更换图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆