문제

if I'm already having person name under/over image then should i use same name in ALT text?

alt text http://easycaptures.com/fs/uploaded/227/6990285751.jpg

<p><img width="125" height="157" alt="George Washington" 
src="media/gw.jpg"><span>George Washington</span><p>


<p><span>George Washington</span>
<img width="125" height="157" alt="George Washington" src="media/gw.jpg"><p>

Should i repeat <span> in alt in both condition ? image has no link.

도움이 되었습니까?

해결책

Yes.

ALT Text is important for screen readers and such. Text 'nearby' to an image doesn't have much meaning to these programs.

Some more information from W3C on the subject.

다른 팁

No. Duplicate content is unhelpful. If an image merely illustrates something which already exists in the normal text content, it should have a blank alt attribute

As a useful test, use the Lynx browser to look at the page. If it looks stupid, the alt text is wrong.

Here is how it renders if you duplicate the alt text (copy/pasted from your example):

    George Washington George Washington

이것은 미래에 다른 사람을 도울 수 있으며 검색의 날을 저장할 수도 있습니다.Managed 속성을 껐다 켜졌습니다. Tags는 더 이상 크롤링 속성을 에 매핑하지 않았습니다.

No. Alt Text is shown as an alternative for the image when it cannot be shown.

Here is an extract from the specification that is quite straight forward:

  • Do not specify irrelevant alternate text when including images intended
    to format a page, for instance,
    alt=”red ball” would be inappropriate for an image that adds a red ball for decorating a heading or paragraph. In such cases, the alternate text should be the empty string (”"). Authors are in any case advised to avoid using
    images to format pages; style sheets
    should be used instead.
  • Do not specify meaningless alternate text (e.g., “dummy text”). Not only will this frustrate users, it will slow down user agents that must convert text to speech or braille output. play terminals, users whose browsers don’t support forms, visually impaired users, those who use speech synthesizers, those who have configured their graphical user
    agents not to display images, etc.

So it says pretty clear not to repeat. "Red Ball" in the first case can be replaced by "George Washington".

Here is a good article how to use the alt-attribute properly: Alt attributes

EDIT: Ok i think i got misunderstood. I did not say that he mustn't use an alt-attribute here.

We are talkin about screen readers and accessibilty here, right? I agree the image is important to us. But is it to blind people? Or is it just decoration for the text?

Remember the question was wether to repeat the name in the alt attribute. And i say "No". When images are not shown, the alt-text is displayed. I'd propably do it this way:

<p><img src="george.jpg" alt="Image of " />George Washington</p>

The alt-Attribute is the alternative for when the image is not shown and not a description (we have description for this).

Wouldn't hurt -- otherwise the screenreader user might be left to wonder if the image is in fact that of the person whose name comes next.

당신이 한 일을 설명 할 수 있습니다! WSP 내에서 작성된 기능이 있었으며 WSP를 WebApp에 배포 한 다음 기능을 활성화 한 다음 WSP를 제거하기로 결정하지만 현재 속의 위치에 빠지는 기능을 비활성화하는 것을 잊어 버리십시오!

다음 번 FAILE을 비활성화 WSP를 제거하기 전에 WSP를 제거하면 하이브 폴더에서 파일을 제거합니다.

stsadm –o deactivatefeature –id FeatureGuidGoesHere -url http://moss-1/sitedirectory/team -force
.

http://technet.microsoft.com. /en-us/library/cc262680(v=office.12).aspx

stsadm –o uninstallfeature –id FeatureGuidGoesHere -force
.

http://technet.microsoft.com. /en-us/library/cc262976(v=office.12).aspx

이 기능은 특성을 제거합니다!

WSP 및 기능을 다시로드 할 수 있지만 (동일한 이름 및 GUID 및 버전 번호가 필요함) 할 수 있지만 Force 속성을 사용하여 다시 추가하여 위의 메서드를 제거해야합니다. 이미 존재하는 것으로 가라고 할 때 -force를 사용하지만 내리하지 않습니다.

WebApp에있는 것으로 나타나는 이유는 SQL 데이터베이스 테이블의 SQL 데이터베이스 테이블 내에 표시됩니다. 사이트 ID, 기능 ID, 웹 ID 요법을 갖는 Fateures ...

누군가가 2010 년을 불평하고 이것이 Stsadm이기 전에 예, 우리는 2010 년 PowerShell을 가지고 있지만 2010 년에 stsadm을 사용할 수도 있습니다. 강제 속성 때문에 stsadm을 사용합니다!

쌍의 벡터가 있습니다 : 인덱스로 정렬 된 색인 -> 값.그런 다음 즉시 모두 모두 벡터를 반복합니다.두 개의 것과 동일한 인덱스가있는 경우 값을 곱하면 결과가 추가되어 두 벡터 모두에서 다음 쌍으로 이동하십시오.핸들의 첫 번째 요소가 더 작은 벡터의 반복 인덱스를 증가시킵니다.

물론 데이터를 수정하지 않도록 가정합니다.

i.e.의사 코드 :

for i = 0, j = 0; i < vec1.size && j < vec2.size:
    if vec1[i].first == vec2[j].first:
        result += vec1[i++].second * vec2[j++].second
    elif vec1[i].first < vec2[j].first:
        i++
    else
        j++
.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top