Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
New wiki pages for widget design planning
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 27 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Todd Parker  
View profile  
 More options Oct 14 2008, 5:32 pm
From: Todd Parker <fg.t...@gmail.com>
Date: Tue, 14 Oct 2008 14:32:46 -0700 (PDT)
Local: Tues, Oct 14 2008 5:32 pm
Subject: New wiki pages for widget design planning
Hi all -

Thanks again for meeting with us today. We're fired up to get started.
We'll keep our conversations here and start building out info on the
hidden part of the wiki here:
http://docs.jquery.com/UI/Planning

The idea is to develop a detailed page per widget that includes all
facets of it's definition: design, accessibility, requirements,
ownership, and code. I created a skeleton page for a widget definition
here:
http://docs.jquery.com/UI/Planning/Datepicker

And dropped much of our conversation about the collection and best
practice research here:
http://docs.jquery.com/UI/Planning/UICollection

I'll try to clean this up as the week progresses. Please try to help
us flesh this out, I just wanted to start things off.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "High Contrast Mode and Re: New wiki pages for widget design planning" by David Bolter
David Bolter  
View profile  
 More options Oct 14 2008, 10:04 pm
From: David Bolter <david.bol...@gmail.com>
Date: Tue, 14 Oct 2008 19:04:26 -0700 (PDT)
Local: Tues, Oct 14 2008 10:04 pm
Subject: High Contrast Mode and Re: New wiki pages for widget design planning
Thanks Todd.

The DatePicker template looks good to me. I think you've captured the
two main bullets for accessibility: ARIA and keyboard. I wonder if we
want address High Contrast Mode (where, for example, background images
get turned off)? I personally feel HCM to be less important than the
keyboard and ARIA work. The basic strategy to deal with HCM is to
detect the mode in onload (and to be the first onload handler), and
dynamically load a style sheet which might for example, change a close
box background image into a letter 'x'. To try out HCM on Windows try
[Left alt]+[Left shift]+[print screen]

The UICollection looks good and I look forward to helping the team get
the ARIA right for the various widgets here :)

cheers,
David

On Oct 14, 5:32 pm, Todd Parker <fg.t...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "New wiki pages for widget design planning" by clown
clown  
View profile  
 More options Oct 15 2008, 11:57 am
From: clown <cl...@utoronto.ca>
Date: Wed, 15 Oct 2008 08:57:32 -0700 (PDT)
Local: Wed, Oct 15 2008 11:57 am
Subject: Re: New wiki pages for widget design planning
Hi Todd,

Just a note to point to the DTHML style guide.  It outlines a set of
keystrokes for "date picker":
http://dev.aol.com/dhtml_style_guide#datepicker

The purpose of the style guide is promote a consistent set of
keystrokes for similar widgets.  I'm not sure if it covers everything
in jQueryUI's date picker, but it's worth considering.

Hoping this is useful,
Joseph


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Todd Parker  
View profile  
 More options Oct 15 2008, 9:38 pm
From: Todd Parker <fg.t...@gmail.com>
Date: Wed, 15 Oct 2008 18:38:32 -0700 (PDT)
Local: Wed, Oct 15 2008 9:38 pm
Subject: Re: New wiki pages for widget design planning
Hi all - The high contrast mode and AOL keyboard styleguide are all
great. I've added them to the datepicker wiki page, but feel free to
create and account and add all your great input directly.
http://docs.jquery.com/UI/Planning/Datepicker#Accessibility_recommend...

I also added a section about HCM in the themes section. Good to keep
in mind. I guess we should whip up a HCM theme in Themeroller. Anyone
want to take a crack at it and post the TR url here for us to check
out? At the very least, if there are good example other than Windows,
I'd like to see 'em.

http://docs.jquery.com/UI/Planning/Themes

David- any details you coudl offer about how to detect is a person is
using this mode? Is there already a jQuery plug-n to do this?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Bolter  
View profile  
 More options Oct 15 2008, 10:22 pm
From: David Bolter <david.bol...@gmail.com>
Date: Wed, 15 Oct 2008 19:22:52 -0700 (PDT)
Local: Wed, Oct 15 2008 10:22 pm
Subject: Re: New wiki pages for widget design planning
Hi Todd. No HCM detection in jq that I know of (yet). I'm waiting (a
long time) to get a password reset email, and when I do I'll jump back
into the wiki...  others, please feel free to jump in too!

Todd, for the HC theme in Themeroller are you suggesting to produce a
theme that plays nice with HC 'mode', or a theme that is simply high
contrast in nature?

cheers,
David

On Oct 15, 9:38 pm, Todd Parker <fg.t...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
alexander farkas  
View profile  
 More options Oct 18 2008, 9:42 am
From: alexander farkas <i...@corrupt-system.de>
Date: Sat, 18 Oct 2008 06:42:49 -0700 (PDT)
Local: Sat, Oct 18 2008 9:42 am
Subject: Re: New wiki pages for widget design planning
On 16 Okt., 04:22, David Bolter <david.bol...@gmail.com> wrote:

> No HCM detection in jq that I know of (yet).

Hi everyone,

i created some very basic HCM-Detection-Plugin for jQuery. The projet-
page is here: http://plugins.jquery.com/project/usermode.
There is no documentation yet, but you can check tis demo if you want:
http://www.protofunc.com/scripts/jquery/checkbox-radiobutton/

The script only handles user mode (high contrast mode) not pircture
off - mode.

For german speakers, here is a tutorial about the radiobutton
replacement script, that deals with high contrast mode.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "HCM Detection" by David Bolter
David Bolter  
View profile  
 More options Oct 18 2008, 9:57 am
From: David Bolter <david.bol...@gmail.com>
Date: Sat, 18 Oct 2008 06:57:40 -0700 (PDT)
Local: Sat, Oct 18 2008 9:57 am
Subject: HCM Detection
Thanks Alexander!

A quick question: how did you decide on the 5 second interval in your
timer?

cheers,
David

On Oct 18, 9:42 am, alexander farkas <i...@corrupt-system.de> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "High Contrast Mode and Re: New wiki pages for widget design planning" by Scott González
Scott González  
View profile  
 More options Oct 18 2008, 12:10 pm
From: "Scott González" <scott.gonza...@gmail.com>
Date: Sat, 18 Oct 2008 12:10:52 -0400
Local: Sat, Oct 18 2008 12:10 pm
Subject: Re: High Contrast Mode and Re: New wiki pages for widget design planning

Can HCM be handled simply by not having any plugins rely on images?  For
example, we handle the close button for dialogs with the following markup:

<a href="#" class="ui-dialog-titlebar-close"><span>X</span></a>

Then if you want to use an image for your close button, you just do:

.ui-dialog-titlebar-close {
    background-image: url(...);
    height: X;
    width: X;

}

.ui-dialog-titlebar-close span {
    display: none;

}

On Tue, Oct 14, 2008 at 10:04 PM, David Bolter <david.bol...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "HCM Detection" by alexander farkas
alexander farkas  
View profile  
 More options Oct 18 2008, 2:01 pm
From: alexander farkas <i...@corrupt-system.de>
Date: Sat, 18 Oct 2008 11:01:33 -0700 (PDT)
Local: Sat, Oct 18 2008 2:01 pm
Subject: Re: HCM Detection

> A quick question: how did you decide on the 5 second interval in your
> timer?

This is more or less accidental. i didn´t wanted to call the detection
too often. i think 5 sec are responsive enough.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "High Contrast Mode and Re: New wiki pages for widget design planning" by alexander farkas
alexander farkas  
View profile  
 More options Oct 18 2008, 2:11 pm
From: alexander farkas <i...@corrupt-system.de>
Date: Sat, 18 Oct 2008 11:11:40 -0700 (PDT)
Local: Sat, Oct 18 2008 2:11 pm
Subject: Re: High Contrast Mode and Re: New wiki pages for widget design planning

> Can HCM be handled simply by not having any plugins rely on images?

Yes and No, HCM means that foreground and backgroundcolors are set by
the user of the page. The user sees images, but not backgroundimages,
so most of the image-replacement techniques are not "allowed".

> .ui-dialog-titlebar-close span {
>     display: none;

> }

elements, that are hidden with display: none aren´t usually read by
screenreaders. you should move them out of viewport instead.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott González  
View profile  
 More options Oct 18 2008, 3:29 pm
From: "Scott González" <scott.gonza...@gmail.com>
Date: Sat, 18 Oct 2008 15:29:38 -0400
Local: Sat, Oct 18 2008 3:29 pm
Subject: Re: High Contrast Mode and Re: New wiki pages for widget design planning

On Sat, Oct 18, 2008 at 2:11 PM, alexander farkas <i...@corrupt-system.de>wrote:

> > Can HCM be handled simply by not having any plugins rely on images?

> Yes and No, HCM means that foreground and backgroundcolors are set by
> the user of the page. The user sees images, but not backgroundimages,
> so most of the image-replacement techniques are not "allowed".

I was thinking that by doing this, developers would have the flexibility to
either use the default textual representation, or do the image replacement.
You could have one stylesheet that does the display: none for regular users
and then load a second stylesheet that undoes the display: none for HCM.
Then you can just toggle the stylesheets wheenver the user changes to/from
HCM.

> .ui-dialog-titlebar-close span {
> >     display: none;

> > }

> elements, that are hidden with display: none aren´t usually read by
> screenreaders. you should move them out of viewport instead.

In this specific case, wouldn't the best solution be to apply a title to the
anchor tag?  By the way, is there anything in ARIA for defining that an
element will cause something else to open or close?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "aria-controls and (Re: High Contrast Mode and Re: New wiki pages for widget design planning)" by David Bolter
David Bolter  
View profile  
 More options Oct 18 2008, 10:25 pm
From: David Bolter <david.bol...@gmail.com>
Date: Sat, 18 Oct 2008 19:25:33 -0700 (PDT)
Local: Sat, Oct 18 2008 10:25 pm
Subject: aria-controls and (Re: High Contrast Mode and Re: New wiki pages for widget design planning)
Hi Scott,

I think a clean way to swap image for text is to have sibling elements
one that holds the 'X' and one that has the background image (with
only one ever displayed). If HCM is detected, the ascii version should
win.

So if HCM is detected, add a class to the body element: <body
class="hcmode ...">
Then for the text version have a selector .hcmode .closeboxText
{ display: inline;
For the bg image version .hcmode .closebox {display: none;

As for ARIA for an open/close question, I'm not sure what the context
is. Here's some properties to look at:
aria-controls (http://www.w3.org/TR/wai-aria/#controls)
aria-haspopup
aria-expanded

Hope that helps...

cheers,
David
On Oct 18, 3:29 pm, "Scott González" <scott.gonza...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott González  
View profile  
 More options Oct 20 2008, 9:41 pm
From: Scott González <scott.gonza...@gmail.com>
Date: Mon, 20 Oct 2008 18:41:38 -0700 (PDT)
Local: Mon, Oct 20 2008 9:41 pm
Subject: Re: aria-controls and (Re: High Contrast Mode and Re: New wiki pages for widget design planning)
Maybe there's some key problem I'm missing, but I don't see how
sibling elements provides better accessibility than nested elements.
If you have to use a stylesheet to get the proper display in either
case, where does the benefit come from?

On Oct 18, 10:25 pm, David Bolter <david.bol...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Bolter  
View profile  
 More options Oct 21 2008, 10:06 am
From: David Bolter <david.bol...@gmail.com>
Date: Tue, 21 Oct 2008 07:06:09 -0700 (PDT)
Local: Tues, Oct 21 2008 10:06 am
Subject: Re: aria-controls and (Re: High Contrast Mode and Re: New wiki pages for widget design planning)
I can't recall the advantage if there is one, but if there is I bet it
was something to do with IE, styles, and pixels ;)

I'm fine with going with the nested approach. Whatever works :)

cheers,
David

On Oct 20, 9:41 pm, Scott González <scott.gonza...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Dialog Close - could you use something besides "x"" by Rich Caloggero
Rich Caloggero  
View profile  
 More options Oct 24 2008, 11:50 am
From: Rich Caloggero <rich_calogg...@wgbh.org>
Date: Fri, 24 Oct 2008 11:50:37 -0400
Local: Fri, Oct 24 2008 11:50 am
Subject: Dialog Close - could you use something besides "x"
I'm sure this is a naive question, but could you use the word Close instead
of simply "x" to label the control? Perhaps an option (as if there aren't
enough of those already <smile>)?

Also, is there a reason not to use a true HTML button instead of a span?
Perhaps it has to do with visual presentation - styling? I have no vision,
so have little knowledge of CSS and other than in an abstract sort of way. I
can read the code and have some abstract idea of what it does, but this is
far from actually knowing why an HTML button is not the same as a span with
a background image of a button overlayed; sounds the same to me.

-- Rich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott González  
View profile  
 More options Oct 25 2008, 1:12 pm
From: "Scott González" <scott.gonza...@gmail.com>
Date: Sat, 25 Oct 2008 13:12:11 -0400
Local: Sat, Oct 25 2008 1:12 pm
Subject: Re: Dialog Close - could you use something besides "x"
I don't see any reason that we can't change the x to close.  As for
the button, I believe the current markup is solely for styling. It
provides an easy way to use CSS to hide the text and show an image
instead.  Changing to a button would make image replacement tricky
because we would have to move the event handler to the element that
contains the text, so we couldn't just hide that element.  Maybe this
is the reason that David suggested having sibling element instead of
nested elements. We'll definitely look into this.
On 10/24/08, Rich Caloggero <rich_calogg...@wgbh.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard D. Worth  
View profile  
 More options Oct 25 2008, 1:30 pm
From: "Richard D. Worth" <rdwo...@gmail.com>
Date: Sat, 25 Oct 2008 13:30:25 -0400
Local: Sat, Oct 25 2008 1:30 pm
Subject: Re: Dialog Close - could you use something besides "x"

How about ABBR?

<abbr title="Close">X</abbr>

- Richard

On Sat, Oct 25, 2008 at 1:12 PM, Scott González <scott.gonza...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott González  
View profile  
 More options Oct 25 2008, 3:27 pm
From: "Scott González" <scott.gonza...@gmail.com>
Date: Sat, 25 Oct 2008 15:27:59 -0400
Local: Sat, Oct 25 2008 3:27 pm
Subject: Re: Dialog Close - could you use something besides "x"
Thinking about this some more, I don't see any reason that we can't
keep the event handler on the div and change the span to a button.

On 10/25/08, Scott González <scott.gonza...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Bolter  
View profile  
 More options Oct 27 2008, 11:30 am
From: David Bolter <david.bol...@gmail.com>
Date: Mon, 27 Oct 2008 08:30:12 -0700 (PDT)
Local: Mon, Oct 27 2008 11:30 am
Subject: Re: Dialog Close - could you use something besides "x"
Yes.

Tip: If styling a button nicely becomes an issue, you can keep styling
the div, and have the user interact with a transparent button
(opacity: 0.01;) inside the div.

(BTW, I liked Rich's idea of an <abbr> tag too, but it is a little
less PE)

cheers,
D

On Oct 25, 3:27 pm, "Scott González" <scott.gonza...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ScottJehl  
View profile  
 More options Oct 28 2008, 9:39 am
From: ScottJehl <sc...@scottjehl.com>
Date: Tue, 28 Oct 2008 06:39:30 -0700 (PDT)
Local: Tues, Oct 28 2008 9:39 am
Subject: Re: Dialog Close - could you use something besides "x"
Forgive me for coming in a little late on this discussion.
Regarding the close "x":
By button, do you mean an anchor or a button element? The current
markup in the dialog (at least on the live UI site) is an anchor
element with a span inside.
It seems like an anchor works well here for allowing keyboard focus
natively, as well as being a lot easier to style across browsers than
a button element.
The text inside the anchor can be whatever you'd like, as I am usually
just hiding it with negative text indent in the ThemeRoller themes.

Perhaps there should be an option for "closeLinkText" to allow for
localization as well?

-Scott


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alexander Farkas  
View profile  
 More options Oct 28 2008, 4:06 pm
From: Alexander Farkas <i...@corrupt-system.de>
Date: Tue, 28 Oct 2008 21:06:29 +0100
Local: Tues, Oct 28 2008 4:06 pm
Subject: Re: Dialog Close - could you use something besides "x"
ScottJehl schrieb:

> By button, do you mean an anchor or a button element? The current
> markup in the dialog (at least on the live UI site) is an anchor
> element with a span inside.
> It seems like an anchor works well here ...

Hi Scott,

I totally agree. I only added button semantics to this anchor via the
role-attribute.

> Perhaps there should be an option for "closeLinkText" to allow for
> localization as well?

I added a feature, where you can decide the innerHTML of the anchor. But
i mixed text with markup here (<span>X</span><span
class="ui-accessible-hidden"> close</span>). For simple localization
this should be ok. But jquery ui code standards seem to strongly
seperate text from markup options.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott González  
View profile  
 More options Oct 28 2008, 10:56 pm
From: "Scott González" <scott.gonza...@gmail.com>
Date: Tue, 28 Oct 2008 22:56:03 -0400
Local: Tues, Oct 28 2008 10:56 pm
Subject: Re: Dialog Close - could you use something besides "x"
Rich,

Any objections to an anchor tag with a role of button rather than an
actual button element?

On 10/28/08, Alexander Farkas <i...@corrupt-system.de> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott González  
View profile  
 More options Dec 6 2008, 10:18 am
From: Scott González <scott.gonza...@gmail.com>
Date: Sat, 6 Dec 2008 07:18:46 -0800 (PST)
Local: Sat, Dec 6 2008 10:18 am
Subject: Re: Dialog Close - could you use something besides "x"
The close link now has a role of button.  See http://ui.jquery.com/bugs/ticket/3637

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott González  
View profile  
 More options Dec 6 2008, 10:21 am
From: Scott González <scott.gonza...@gmail.com>
Date: Sat, 6 Dec 2008 07:21:07 -0800 (PST)
Local: Sat, Dec 6 2008 10:21 am
Subject: Re: Dialog Close - could you use something besides "x"
I also created a ticket to allow the user to change the close text
( http://ui.jquery.com/bugs/ticket/3638 ).  Even though this is
extremely easy to implement, I'm waiting until we figure out how we
want to handle i18n in UI.  I'll discuss this with the other team
leads and see if they're okay with adding this option now and then
changing it when we support i18n across all plugins.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott González  
View profile  
 More options Dec 6 2008, 10:24 am
From: "Scott González" <scott.gonza...@gmail.com>
Date: Sat, 6 Dec 2008 10:24:33 -0500
Local: Sat, Dec 6 2008 10:24 am
Subject: Re: Dialog Close - could you use something besides "x"

I decided to start a thread in the dev list instead (
http://groups.google.com/group/jquery-ui-dev/browse_thread/thread/c0d...).

On Sat, Dec 6, 2008 at 10:21 AM, Scott González <scott.gonza...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 27   Newer >
« Back to Discussions « Newer topic     Older topic »