E-mail List Archives

Re: HTML5 and new elements (was Re: Use of SAMP to highlight search results)

for

From: Patrick H. Lauke
Date: Oct 28, 2010 3:33PM


On 28/10/2010 21:16, Jukka K. Korpela wrote:
> Patrick H. Lauke wrote:
>
>> Again, it's up to browsers to decide if there will be a default styling.
>
> And my point was that this is bad, one of the threats to accessibility in
> HTML5.
>
> The good old HTML specifications even said that browsers _must_ render EM
> and STRONG elements differently from each other and from normal text.

All I can find in that regard is this under
http://www.w3.org/TR/REC-html40/struct/text.html#h-9.2.1

"EM and STRONG are used to indicate emphasis. [...] The presentation of
phrase elements depends on the user agent. Generally, visual user agents
present EM text in italics and STRONG text in bold font."

> And
> that's what browsers generally do, though non-visual browsers may deviate
> from this, for partly understandable reasons.

P
--
Patrick H. Lauke