Forum Moderators: not2easy

Message Too Old, No Replies

Making a hover-over menu accessible

With :focus

         

Ryuumeiko

1:19 pm on May 5, 2005 (gmt 0)

10+ Year Member



Hi,

As in this thread:

[webmasterworld.com...]

I used SuzyUK's 2nd method (with the .htc file) and would like to modify this so that on focus (i.e. when I hover/tab over the image which makes the submenu appear) the drop down menu appears and can be tabbed through.

Is this possible in pure CSS? I've found someone's modification that modifies the csshover.htc file to work for :focus too, (http://www.relativelyabsolute.com/articles/focus/) but it doesn't want to work!

Help? :)

Old_Honky

1:53 pm on May 5, 2005 (gmt 0)

10+ Year Member Top Contributors Of The Month



I would have just tried changing

dl:hover dd {display: block;}

to

dl:focus dd, dl:hover dd {display: block;}

Ryuumeiko

3:28 pm on May 5, 2005 (gmt 0)

10+ Year Member



Tried that. Nope... :/