Re: [WSG] minimal use of modernizr?

2012-05-12 Thread Benjamin Hawkes-Lewis
ill exclude legitimate addresses like john.doe+la...@gmail.com. I suggest just keeping it simple and checking for ^.*@.*$. See also discussion at: http://www.regular-expressions.info/email.html -- Benjamin Hawkes-Lewis *** List Gui

Re: [WSG] Expected behaviour of links to external websites

2011-12-29 Thread Benjamin Hawkes-Lewis
On Thu, Dec 29, 2011 at 3:25 PM, Hassan Schroeder wrote: > On 12/28/11 8:08 AM, Benjamin Hawkes-Lewis wrote: [snip] >> Since they aren't navigating hypermedia, I'm not sure that's >> comparable. But typically you have a fine degree of user control of >>

Re: [WSG] Expected behaviour of links to external websites

2011-12-28 Thread Benjamin Hawkes-Lewis
trol of the opening of new windows in such programs. At the very least, it's predictable. -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgrou

Re: [WSG] Expected behaviour of links to external websites

2011-12-28 Thread Benjamin Hawkes-Lewis
g Joe Random Site Author decide when that should happen is not. -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***

Re: [WSG] Is it possible to style an attribute?

2011-12-19 Thread Benjamin Hawkes-Lewis
content: attr(title); } However, you can't apply transform punctuation within the raw text content into italics with CSS alone, for that you'd need JS too. Hope that helps. -- Benjamin Hawkes-Lewis *** List Gu

Re: [WSG] media queries can't understand body tag

2011-09-18 Thread Benjamin Hawkes-Lewis
orks for me in Chrome: http://pastehtml.com/view/b7qe04of6.html Do you have a testcase you can point to that fails in a named browser? -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guid

Re: [WSG] CSS variable navigational menu`

2011-01-09 Thread Benjamin Hawkes-Lewis
cusable and visible on focus. Food for thought: http://www.w3.org/TR/WCAG20/#keyboard-operation http://www.uie.com/articles/users_decide_first/ http://www.456bereastreet.com/archive/200705/accessible_expanding_and_collapsing_menu/ http://labs.benjaminhawkeslewis.com/rapid-access-hover-

Re: [WSG] how do I declare gradient and image in the background property?

2010-12-26 Thread Benjamin Hawkes-Lewis
is an image that smoothly fades from one color to another." My point was merely: background-image: url(foo); background-image: url(bar); is equivalent to: background-image: url(bar); not background-image: url(foo), url(bar); -- Benjamin Hawkes-Lewis **

Re: [WSG] how do I declare gradient and image in the background property?

2010-12-23 Thread Benjamin Hawkes-Lewis
describes the comma-seperated syntax you want. -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***

Re: [WSG] disallow IE6 to load the main style sheet

2010-12-18 Thread Benjamin Hawkes-Lewis
g sniffing of this sort, it is better to differentiate the experience for known-bad browsers and assume all other browsers are fully capable, so that users of capable minority browsers are not locked out or forced to spoof. In other words: use a blacklist not a whitelist. -

Re: [WSG] Order of Tags within (XHTML)

2010-12-15 Thread Benjamin Hawkes-Lewis
ind this problem doesn't apply to other self-closing elements, such as "link". >        Un-styled content flashing up in IE. > > > After reading, perhaps I could of worded the post a little better. I guess - isn't the second topic an argument f

Re: [WSG] Order of Tags within (XHTML)

2010-12-15 Thread Benjamin Hawkes-Lewis
test case for this? -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***

Re: [WSG] HTML5 - Marking up forms

2010-11-10 Thread Benjamin Hawkes-Lewis
moving on to later fields. I'd suggest adding a single "progress" element with JS, and tweaking its value as the user actually completes the form. -- Benjamin Hawkes-Lewis *** List Guidelines: http://webst

Re: [WSG] XHTML or HTML?

2010-11-10 Thread Benjamin Hawkes-Lewis
for feed autodiscovery), page description (often excerpted in search results pages). Possibly Open Graph Protocol metadata (http://opengraphprotocol.org/). -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup

Re: [WSG] lazyweb://schema.agnostic.URLs

2010-11-10 Thread Benjamin Hawkes-Lewis
On Wed, Nov 10, 2010 at 3:07 AM, Micky Hulse wrote: > I wonder how many folks don't specify the http: part? It sounds like > there are no drawbacks. Not quite: http://www.stevesouders.com/blog/2010/02/10/5a-missing-schema-double-download/ -- Benjamin H

Re: [WSG] Getting my feet wet in HTML5

2010-09-06 Thread Benjamin Hawkes-Lewis
w.w3.org/WAI/PF/aria/complete#aria-level (Those ARIA annotations are strictly unnecessary when UAs implement the "Strong native semantics and implied ARIA semantics" from that table.) -- Benjamin Hawkes-Lewis *** List Gu

Re: [WSG] link rel="stylesheet" question

2010-07-17 Thread Benjamin Hawkes-Lewis
.2.2 > I usually see the rel attribute first, as in the example below, but does the > order of attributes matter or is the order convention, convention meaning, > "that's what most people do"? Convention. I guess it puts the /purpose/ of the linked resource (namely, be

Re: [WSG] Flash video without tag

2010-07-10 Thread Benjamin Hawkes-Lewis
;t inherit outer object params). For a discussion of Flash loading strategies circa 2007 see: http://www.alistapart.com/articles/flashembedcagematch For a useful JS library that abstracts a lot of the browser differences see: http://code.google.com/p/swfobject/ Hope that helps. -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***

Re: [WSG] title attribute and semantic data

2010-04-28 Thread Benjamin Hawkes-Lewis
"title", even if you do have useful advisory information, it may not be the best place to put it. http://www.paciellogroup.com/blog/?p=37 -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***

Re: [WSG] validator error or my code?

2010-04-24 Thread Benjamin Hawkes-Lewis
of screen readers testing using pricy software". You cannot freely test with the free JAWS demo thanks to EULA restrictions, but the following are all free to test with: * Window-Eyes Demo (30-minutes-per-Windows-session limit) * NVDA on Windows (FOS

Re: [WSG] Fw: html vallidation

2009-09-12 Thread Benjamin Hawkes-Lewis
hrough the document, you will find you have already closed the "p" element begun with an opening tag ("") on line 57 with a closing tag () on line 72. So the validator correctly reports that it has found a closing tag for an element that is not op

Re: [WSG] Accessible Forms

2009-08-19 Thread Benjamin Hawkes-Lewis
some reports about poor support for implicit labels: http://www.w3.org/TR/WCAG-TECHS/H44.html -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandard

Re: [WSG] table inside a dd?

2009-08-17 Thread Benjamin Hawkes-Lewis
support for definition lists, but it's not especially pretty, which isn't surprising given the HTML spec suggests using the element for "terms" and "descriptions", and also for dialogs: http://www.webaim.org/discussion/mail_messa

Re: [WSG] Accessible websites

2009-07-07 Thread Benjamin Hawkes-Lewis
e is bad. 2. The default font size set in the browser constitutes a user choice for body text to use that font size. 3. Publisher body text font-size suggestions override default font size. Therefore: 4. Publisher font-size suggestions override a user choice. Therefore: 5. Publishe

Re: [WSG] Accessible websites

2009-07-05 Thread Benjamin Hawkes-Lewis
On 4/7/09 16:09, Felix Miata wrote: > On 2009/07/04 10:13 (GMT+0100) Benjamin Hawkes-Lewis composed: > >> On 2/7/09 17:07, Felix Miata wrote: > >>> Zoom, minimum text size and magnifiers are defense mechanisms. The >>> basic problem is the pervasive offense - no

Re: [WSG] Accessible websites

2009-07-04 Thread Benjamin Hawkes-Lewis
essages and sucess messages) into the DOM simultaneously, then using the "display" property to determine which get shown to the user - rather than using DOM methods to add and remove fragments to the DOM as required. These do turn turn the partnership into a conflict. -- Benjamin

Re: [WSG] valid meta tags

2009-05-27 Thread Benjamin Hawkes-Lewis
t rather than a validator, strictly speaking. And yes, I'd say it's at fault in this case. -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/

Re: [WSG] valid meta tags

2009-05-26 Thread Benjamin Hawkes-Lewis
t;xml:lang" attributes: http://www.w3.org/TR/i18n-html-tech-lang/#ri20040808.101452727 http://www.w3.org/TR/i18n-html-tech-lang/#ri20040728.121358444 -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***

Re: [WSG] Possible to embed Flash w/out keyboard trap problems?

2009-05-12 Thread Benjamin Hawkes-Lewis
7;d suggest the answer to your wondering is no. :( -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***

Re: [WSG] Image Replacement and Accessabilty

2009-04-17 Thread Benjamin Hawkes-Lewis
s, then you could make a case that: @media screen, projection { .thing { display: none; } } would be a correct method. But this assumption doesn't really reflect the actual approach taken by screen reader developers. All popular screen readers ignore speech- and braille-specific CS

Re: [WSG] Image Replacement and Accessabilty

2009-04-16 Thread Benjamin Hawkes-Lewis
On 16/4/09 05:56, Gary Barber wrote: Now it is h#{ left: -px; } that had issues with screen readers. Interesting. Not in my experience. What screen readers and versions are you talking about? Do you have a test case that demonstrates the problem? -- Benjamin Hawkes-Lewis

Re: [WSG] Semantics: Microformats, RDFa

2009-02-27 Thread Benjamin Hawkes-Lewis
is good or bad perhaps depends on how widely useful your vocabulary would be. -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join

Re: [WSG] Accessibility testing

2009-02-14 Thread Benjamin Hawkes-Lewis
.gov/ [4] http://www.w3.org/TR/WCAG10/ [5] http://www.w3.org/WAI/intro/wcag.php [6] http://dev.opera.com/articles/view/26-accessibility-testing/#usertesting [7] http://www.rnib.org.uk/xpedio/groups/public/documents/PublicWebsite/public_seeitrightaudit.hcsp -- Benjami

Re: [WSG] Implication of empty divs

2009-02-09 Thread Benjamin Hawkes-Lewis
a configuration setting for whether "blank lines" should be spoken with the "Say All" command. If this is off (as it is by default), then the above variations would all be read: "bar "baz" -- Benjamin Hawkes-Lewis **

Re: [WSG] Implication of empty divs

2009-02-09 Thread Benjamin Hawkes-Lewis
On 9/2/09 07:45, Chris F.A. Johnson wrote: How can CSS overflow replace ? See http://www.ejeliot.com/blog/59 -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http

Re: [WSG] Implication of empty divs

2009-02-08 Thread Benjamin Hawkes-Lewis
inhawkeslewis/accessibility+ajax And for accessibility best practices generally see: http://www.w3.org/WAI/intro/wcag.php http://www.rnib.org.uk/xpedio/groups/public/documents/code/public_wacsitemap.hcsp Hope that helps. -- Benjamin Hawkes-Lewis **

Re: [WSG] Opera Targeting?!

2009-02-03 Thread Benjamin Hawkes-Lewis
nd allow users to disregard publisher suggestions about font size and set enforce their own preferences. -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***

Re: [WSG] How to hide/show form questions with javascript while meeting WCAG 2?

2009-01-27 Thread Benjamin Hawkes-Lewis
d with "display: none;", which are then styled "display: block" if a field fails form validation. This breaks horribly when your styling suggestions aren't applied, because the user will be confused by error messages that do not reflect actual input. Hope that helps. -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***

Re: [WSG] Validating (X)HTML + ARIA

2009-01-21 Thread Benjamin Hawkes-Lewis
atibility for your content. So as you can see, progressively enhancing with ARIA doesn't equate to adding ARIA attributes with JavaScript, but rather to using ARIA as an enhancement rather than replacement whether dependent on JS or not. I think the more serious co

Re: [WSG] Validating (X)HTML + ARIA

2009-01-20 Thread Benjamin Hawkes-Lewis
meone mentioned using JavaScript to implement ARIA parameters. This is a good idea... Why? but just how accessible would that be to a vision impaired visitor with JavaScript turned off? As accessible as your page normally is with JavaScript turned off to the same user. -- Benjamin Hawkes-

Re: [WSG] Microformats & Accessibility

2009-01-20 Thread Benjamin Hawkes-Lewis
with this general point, though the way to write dates most clearly in English is "9 February 2009" (or, somewhat worse, February 9th 2009) not any machine-readable readable syntax. -- Benjamin Hawkes-Lewis *** List

Re: [WSG] Validating (X)HTML + ARIA

2009-01-20 Thread Benjamin Hawkes-Lewis
HTML5, the drafting of XHTML 1.2 (which includes ARIA), and the gradual standardization of ARIA itself are of significantly more interest than any draft of XHTML 1.1. -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***

Re: [WSG] Website review : http://webprocafe.com

2009-01-16 Thread Benjamin Hawkes-Lewis
ok too randomly generic. Sorry that's harsh, but I hope it helps. -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscri

Re: [WSG] SEO and Flash

2009-01-15 Thread Benjamin Hawkes-Lewis
different, not least because screen readers need to interact with Flash functionality not just read Flash content. However, sensible screen-reader users disable Flash. Not when they want to listen to videos and audio on the web, they don't. -- Benjamin Hawkes-

Re: [WSG] Frames/iFrames [SEC=UNCLASSIFIED]

2009-01-14 Thread Benjamin Hawkes-Lewis
ou to make assumptions about the height of the IFRAME content, and those assumptions will inevitably break down under some conditions. (Try bumping up your text size three or four steps and see what happens!) -- Benjamin Hawkes-

Re: [WSG] Frames/iFrames [SEC=UNCLASSIFIED]

2009-01-12 Thread Benjamin Hawkes-Lewis
rp-08.html?terms=frames (although contrast http://help.yahoo.com/l/us/yahoo/search/webcrawler/slurp-09.html?terms=frames ) I have a client that seems determined to use them despite my best advice. Use them how for what? -- Benjamin Hawkes-Lewis

Re: [WSG] Title attribute

2009-01-11 Thread Benjamin Hawkes-Lewis
-title-attributes/ is a very useful discussion of the TITLE attribute from an accessibility perspective. I think the destination of a link is best made clear by the link text. TITLE attributes are useful to provide tooltip text for icons however. -- Benjamin Hawkes-Lewis

Re: [WSG] credibility of accessibility validator and evaluator

2008-12-31 Thread Benjamin Hawkes-Lewis
are because I get different results from Cynthia Says and Total Validators-these are the two I frequently use. Those are likely using completely different rulesets again, so you have every reason to expect them to be different. They are as reliable as their rulesets. -- Benjamin Hawkes-Lewis

Re: [WSG] NCFH Site Check and CSS Issues

2008-12-27 Thread Benjamin Hawkes-Lewis
a and Safari. http://www.w3.org/TR/css3-content/ http://www.css3.info/image-replacement-in-css3/ -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org

Re: [WSG] NCFH Site Check and CSS Issues

2008-12-23 Thread Benjamin Hawkes-Lewis
means that if the user enforces their own colors for increased legibility, the header _and its text_ will likely be invisible. -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscri

Re: [WSG] PopDown Menu NCFH

2008-12-18 Thread Benjamin Hawkes-Lewis
red. Would those experienced with Pure CSS Drop-Downs assist my effort? Why does the design require "Pure CSS" drop downs? Is there a plan for keyboard accessibility here? Note the famous "Pure CSS" dropdowns tend to require JS anyway in IE6 to fake :hover suppo

Re: [WSG] Dropmenu accessibility and layout problem IE6

2008-12-14 Thread Benjamin Hawkes-Lewis
ons - they keep options simple and visible. -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***

Re: [WSG] the Name attribute

2008-12-04 Thread Benjamin Hawkes-Lewis
fits which standards compliance creators strive for. "Standard" is a pretty fuzzy word. Might be worth clarifying what definition of "standard" you are applying here. -- Benjamin Hawkes-Lewis *** List Guidelines

Re: [WSG] HTML/XHTML/XML - Question about the future of.

2008-11-25 Thread Benjamin Hawkes-Lewis
them. Any practical instance of which, in practice, has to deal not only with tag soup HTML but also malformed XML, which rather undermines this point. -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail

Re: [WSG] HTML/XHTML/XML - Question about the future of.

2008-11-25 Thread Benjamin Hawkes-Lewis
David Hucklesby wrote: The validator still needs a DTD though. If you mean the W3C validator, then no, it just got experimental HTML5 support. -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail

Replacing a paragraph with JS [was: Re: [WSG] JavaScript clarification please]

2008-10-26 Thread Benjamin Hawkes-Lewis
'newText':'Text with JavaScript.' }; // Check interfaces exist before trying to use them. // Yes, the level of checking here is a little bit paranoid. if (typeof this.window !== 'undefined' && typeof this.window.document !== 'undefined' && typeof this.window.document.getElementById !== 'undefined' ) { // Get a reference to the P HTMLElement instance: var p = this.window.document.getElementById('text'); // Internet Explorer does not support the standard textContent // feature of the HTMLElement interface: // // <a rel="nofollow" href="http://developer.mozilla.org/En/DOM/Element.textContent">http://developer.mozilla.org/En/DOM/Element.textContent</a> // // But it does implement a similar non-standard property, innerText: // // <a rel="nofollow" href="http://msdn.microsoft.com/en-us/library/ms533899">http://msdn.microsoft.com/en-us/library/ms533899</a>(VS.85).aspx // // We can use typeof to detect which property is defined, if any: if (typeof p.textContent !== 'undefined') { p.textContent = strings.newText; } else if (typeof p.innerText !== 'undefined') { p.innerText = strings.newText; } } })(); //--> Hope that helps. -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***

Re: [WSG] JavaScript clarification please

2008-10-25 Thread Benjamin Hawkes-Lewis
wrong too: http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2008-August/016157.html -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join

Re: [WSG] re: Semantic use of rel and rev in anchors

2008-10-20 Thread Benjamin Hawkes-Lewis
E has seen much adoption). -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***

Re: [WSG] Flash replace Javascript in Future?

2008-10-20 Thread Benjamin Hawkes-Lewis
, which is a not insignificant number if you're talking about, say, boosting sales from a website.) -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandards

Re: [WSG] labels as input wrappers + in place of legend

2008-10-17 Thread Benjamin Hawkes-Lewis
s17/page1.asp http://www.cs.tut.fi/~jkorpela/forms/kbd.html -- Benjamin Hawkes-Lewis -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***

Re: [WSG] Flash replace Javascript in Future?

2008-10-16 Thread Benjamin Hawkes-Lewis
ts: http://www.whatwg.org/specs/web-apps/current-work/#video http://www.whatwg.org/specs/web-apps/current-work/#audio -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubsc

Re: [WSG] labels as input wrappers + in place of legend

2008-10-16 Thread Benjamin Hawkes-Lewis
lems with that pattern at: http://www.w3.org/TR/WCAG20-TECHS/H44.html and http://green-beast.com/blog/?p=254 I'd suggest just using: Label text: id="field-id" name="field-key" type="text">