Coding with Jesse

Testing Web Pages with Lynx

October 19th, 2008

If you're not familiar, Lynx is the most basic web browser, found on Unix and Linux servers. There are no photos, just pure text, links and forms.

You're probably wondering why you would ever think about supporting a browser that's based in a console window. Does anyone actually browse the web from a bash shell?

Basically, here's the benefit: if you know it works in Lynx, you know it works everywhere. Lynx doesn't have JavaScript or CSS available, and there are no images. It doesn't get more limited than that.

And actually, a lot of the traffic to your site is viewing things in this HTML-only form. I'm talking about search-engine spiders, bots, and people stuck using text-only devices such as screen readers.

So run through your site with Lynx now and then. You will be able to see at a glance if there is enough hidden or alternate text on the page to be useful to search engines and the blind. You'll also be able to ensure that forms and functionality are available to absolutely everyone, even people browsing under Bash!

Update: I just discovered Seebot, a web app which lets you browse the web the same text-only way Lynx (and bots) do.


1 . Jens on October 20th, 2008


You're absolutely right about the benefits of testing your sites in Lynx. On mac OS X, I use Lynxlet, which is available for download here:

2 . Keith on June 22nd, 2010


I think Lynx is awesome! If it supported tabs (or something similar, like Vim's buffers) and bookmark keywords, I'd probably use it far more often than I do.

Comments are closed, but I'd still love to hear your thoughts.