Oops, good point, display:none might cause problems for COinS using
user-agents that count on inserting content into the span and having it
be visible.
Perhaps user-agents should be changed to change the style, removing
display:none if it's there, maybe that should be reccommended best
practice.
Jonathan
Ross Singer wrote:
> On Fri, Dec 5, 2008 at 10:50 AM, Godmar Back <[log in to unmask]> wrote:
>
>> On Thu, Dec 4, 2008 at 2:31 PM, Jonathan Rochkind <[log in to unmask]> wrote:
>>
>>> Not that I know of.
>>>
>>> You can say display:none, but that'll probably hide it from LibX etc too.
>>>
>> No, why would it.
>>
>
> I agree with Godmar -- everything should be using the DOM. The tag is
> still there. Of course, if the COinS processor is inserting its
> output into the span tag, you might have a problem...
>
> -Ross.
>
>> BTW, I don't see why screen readers would stumble over this when the
>> child of the <span> is empty. Do they try to read empty text? And if
>> a COinS is processed, we fix up the title so tooltips show nicely.
>>
>> - Godmar
>>
>>
>>> What is needed is a CSS @media for screen readers, like one exists for
>>> 'print'. So you could have a seperate stylesheet for screenreaders, like you
>>> can have a seperate stylesheet for print. That would be the right way to do
>>> it.
>>>
>>> But doesn't exist.
>>>
>>> Jonathan
>>>
>>> Thomas Dowling wrote:
>>>
>>>> On 12/04/2008 02:02 PM, Jonathan Rochkind wrote:
>>>>
>>>>
>>>>> Yeah, I had recently noticed indepedently, been unhappy with the way a
>>>>> COinS "title" shows up in mouse-overs, and is reccommended to be used by
>>>>> screen readers. Oops.
>>>>>
>>>>>
>>>>>
>>>> By any chance, do current screen readers honor something like '<span
>>>> class="Z3988" style="speak:none" title=...>'?
>>>>
>>>>
>>>>
>>> --
>>> Jonathan Rochkind
>>> Digital Services Software Engineer
>>> The Sheridan Libraries
>>> Johns Hopkins University
>>> 410.516.8886 rochkind (at) jhu.edu
>>>
>>>
>
>
--
Jonathan Rochkind
Digital Services Software Engineer
The Sheridan Libraries
Johns Hopkins University
410.516.8886
rochkind (at) jhu.edu
|