Bug 107291

Summary: Keyboard accessibility sabotaged by www/share/sgml/header.ent
Product: Documentation Reporter: Eric P. Scott <eps+pbug0612>
Component: Books & ArticlesAssignee: Gabor Kovesdan <gabor>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Eric P. Scott 2006-12-28 19:10:21 UTC
When viewing the FreeBSD web site using a modern [Gecko-based]
browser, landing on the Text Size: Normal via any sort of
keyboard navigation renders the keyboard nearly useless; it is
impossible to move forward or backward, to search, quit the
browser, or even just close the current tab (it's still possible
to switch to other tabs, however).  It becomes necessary to use
the mouse to regain control.

Fix: 

1) Remove onkeypress="return false;" from anchors under SEARCHNAVLIST
  -or-
2) Ensure JavaScript is disabled when viewing the FreeBSD web site

I think the whole Text Size: thing is ill-conceived and should go
away.  Most browsers offer convenient ways for users to adjust
text display to their liking.  You shouldn't be competing with,
or trying to subvert that functionality.

I'm bothered by the site using cookies.  I find it particularly
annoying that cookie setting is triggered by window unload
events, and that cookies are being explicitly set even when no
state change has occurred.  [styleswitcher.js]
How-To-Repeat: Press the Tab key repeatedly, or use any sort of "find as you
type" setting that will cause focus to land on "Normal"
Comment 1 Remko Lodder freebsd_committer freebsd_triage 2006-12-28 21:53:08 UTC
State Changed
From-To: open->closed

Hello Eric, thank you for taking the time to denote your frustrations on 
the freebsd website. We appriciate any feedback, so please do not think 
i was pointing at you or something. I will however close this ticket, we 
cannot do much with it yet, perhaps post your complaints to the www list 
and discuss it over there and see what comes out of it, this is not 
worth a PR ticket. Thank you for using FreeBSD!
Comment 2 Remko Lodder freebsd_committer freebsd_triage 2006-12-28 21:55:23 UTC
Responsible Changed
From-To: freebsd-www->remko

grab the pr to recieve feedback.
Comment 3 murray.stokely 2008-12-15 00:48:37 UTC
What are the ramifications of removing the onkeypress="return false;"
from anchors under SEARCHNAVLIST as suggested in this PR?  The second
suggestion of moving away from javascript and cookies completely is
unrealistic.  The goal is to certainly degrade gracefully when
javascript is disaabled, but we're likely to use more not less over
time so we can offer more dynamic content on some of our pages.

I'm not sure why the onkeypress="return false;" is there in the first
place.  Do you have a patch that you've tried with Firefox to see how
this effects the common graphical browsers used on our site?

I think this PR was closed a bit prematurely, as the first suggestion
about onkeypress is possibly reasonable, we just need some more
information about the ramifications.

       - Murray
Comment 4 murray.stokely 2008-12-15 00:56:42 UTC
What are the ramifications of removing the onkeypress="return false;"
from anchors under SEARCHNAVLIST as suggested in this PR?  The second
suggestion of moving away from javascript and cookies completely is
unrealistic.  The goal is to certainly degrade gracefully when
javascript is disaabled, but we're likely to use more not less over
time so we can offer more dynamic content on some of our pages.

I'm not sure why the onkeypress="return false;" is there in the first
place.  Do you have a patch that you've tried with Firefox to see how
this effects the common graphical browsers used on our site?

I think this PR was closed a bit prematurely, as the first suggestion
about onkeypress is possibly reasonable, we just need some more
information about the ramifications.

       - Murray
Comment 5 Murray Stokely freebsd_committer freebsd_triage 2008-12-15 04:16:56 UTC
State Changed
From-To: closed->feedback

Please try these two modified home pages and let us know if you have 
the problem with either or both of them : 

http://people.freebsd.org/~murray/patches/index-nokeypress.html 
http://people.freebsd.org/~murray/patches/index-keypress.html 

The images and stylesheets and such won't work but the basic 
javascript issue is changed here. 

The diff for the first page is : 
http://people.freebsd.org/~murray/patches/onkeypress2.diff 

And for the second page is : 
http://people.freebsd.org/~murray/patches/onkeypress.diff 

I use links all the time but not with javascript enabled, so I've 
never seen this issue and can't currently test it.  Hopefully one of 
these pages works for you. 



Comment 6 Murray Stokely freebsd_committer freebsd_triage 2008-12-15 04:16:56 UTC
Responsible Changed
From-To: remko->murray

Please try these two modified home pages and let us know if you have 
the problem with either or both of them : 

http://people.freebsd.org/~murray/patches/index-nokeypress.html 
http://people.freebsd.org/~murray/patches/index-keypress.html 

The images and stylesheets and such won't work but the basic 
javascript issue is changed here. 

The diff for the first page is : 
http://people.freebsd.org/~murray/patches/onkeypress2.diff 

And for the second page is : 
http://people.freebsd.org/~murray/patches/onkeypress.diff 

I use links all the time but not with javascript enabled, so I've 
never seen this issue and can't currently test it.  Hopefully one of 
these pages works for you.
Comment 7 Eitan Adler freebsd_committer freebsd_triage 2011-03-23 02:33:58 UTC
State Changed
From-To: feedback->suspended

feedback timeout
Comment 8 Gabor Kovesdan freebsd_committer freebsd_triage 2014-01-22 16:29:39 UTC
State Changed
From-To: suspended->closed

The text size selector has been removed so close this PR. Thank you for the 
report! 


Comment 9 Gabor Kovesdan freebsd_committer freebsd_triage 2014-01-22 16:29:39 UTC
Responsible Changed
From-To: murray->gabor

The text size selector has been removed so close this PR. Thank you for the 
report!