The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Visual accessibility of web pages: no real progress yet

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Peter van Ooijen

Posts: 284
Nickname: petergekko
Registered: Sep, 2003

Peter van Ooijen is a .NET devloper/architect for Gekko Software
Visual accessibility of web pages: no real progress yet Posted: Jun 9, 2006 3:02 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Peter van Ooijen.
Original Post: Visual accessibility of web pages: no real progress yet
Feed Title: Peter's Gekko
Feed URL: /error.htm?aspxerrorpath=/blogs/peter.van.ooijen/rss.aspx
Feed Description: My weblog cotains tips tricks and opinions on ASP.NET, tablet PC's and tech in general.
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Peter van Ooijen
Latest Posts From Peter's Gekko

Advertisement

Working  a lot with a computer has a couple of health risks, which get bigger and bigger over the years. There are several ways to fight this:

Big text has imho still a long way to go in Windows.

The thing I always liked best about Firefox is not tabbed browsing but the impressive way you can simply set the font size by pressing ctrl-+/- or ctrl-scrollwheel. IE does this as well but the thing Firefox does far better is wrapping the text. And Firefox has a far greater range of text sizes. Many a site is easier to read with FF. Although it can be irritating that many a site has the width of a text block set absolutely, you end up with big text on a quarter of the screen width and 3 quarters of the screen width empty. Such a waste of resources

Making a web page easy to read is not difficult at all. I wanted my new website visual accessible both in FF and IE. This is how I did that.

The main markup of the masterpage

  <div>

    <table style="width:100%">

        <tr>

        <td><asp:Image ID="Mondriaan" runat="server" style="width:100%" ImageUrl="~/images/Mondbanner.gif"></asp:Image></td>

        <td class="big">Gekko Software</td>

        <td><asp:Image ID="Hemidactylus" runat="server" style="width:80%" ImageUrl="~/images/gekko.gif"></asp:Image></td>

        </tr>

    </table>

    <table style="width:100%">

        <tr>

        <td style="width: 120px; vertical-align:top">

        <asp:Menu ID="HoofdMenu" runat="server">

            <Items>

                <asp:MenuItem Text="Services" Value="Services" NavigateUrl="~/Services.aspx"></asp:MenuItem>

                <asp:MenuItem Text="Portfolio" Value="Portfolio" NavigateUrl="~/Portfolio.aspx"></asp:MenuItem>

                <asp:MenuItem Text="Publications" Value="Publications" NavigateUrl="~/Publications.aspx"></asp:MenuItem>

                <asp:MenuItem Text="Contact" Value="Contact" NavigateUrl="~/Contact.aspx"></asp:MenuItem>

                <asp:MenuItem Text="Blog" Value="Blog" NavigateUrl="http://codebetter.com/blogs/peter.van.ooijen/default.aspx"></asp:MenuItem>

                <asp:MenuItem Text="About" Value="About" NavigateUrl="~/about.aspx"></asp:MenuItem>

            </Items>

        </asp:Menu>

        </td>

        <td><asp:contentplaceholder id="ContentPlaceHolder1" runat="server">

            </asp:contentplaceholder>

        </td>

        </tr>

 

    </table>

    </div>

Quite simple. The page heading is a three column table. Its width is set to 100% so it will use all real estate available. The images in the left and right column will also fill them according to space available. The middle column contains plain (CSS decorated) text. The middle part of the page is even simpler: a fixed size column for a menu and one column for the content.

The content I want to demonstrate here is no big deal either. It reads an htm file, extracts the body and assigns that to a label (read here for the details)

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<div>

    <asp:Label ID="LabelArticle" runat="server" Text="Label"></asp:Label>

</div>

</asp:Content>

You can shrink or blow up the text size, in FF almost ad absurdum. From tiny

to huge

At a given moment a horizontal scroll bar will show up. The moment this happens in FF is (coincidental ?) when the text reaches the maximum size of IE.

In comes IE6 which brings tabbed browsing and also a far greater range of text size. But just look what happens when you increase the size to more than 100%

A horizontal scroll bar shows up which makes the text unreadable. Which makes IE6, when it comes to visual accessibility, a big step back.

IE6 is in beta and beta does have bugs. What worries me is that such a (imho) blatant bug has not been spotted before the beta release. What worries me even more is that Charles Petzold had a quite similar story of a WPF bug when changing Window's DPI. Are computer screens becoming something just for the young?

Read: Visual accessibility of web pages: no real progress yet

Topic: What is your favorite feature in ReSharper? Previous Topic   Next Topic Topic: What is your favorite feature in ReSharper?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use