E-mail List Archives
Re: ARIA and Label tags both for Error Messages
From: Hewitt,Susan (DSHS)
Date: Feb 11, 2014 3:34PM
- Next message: ron@ahead.org: "Re: ARIA and Label tags both for Error Messages"
- Previous message: ron@ahead.org: "Re: ARIA and Label tags both for Error Messages"
- Next message in Thread: ron@ahead.org: "Re: ARIA and Label tags both for Error Messages"
- Previous message in Thread: ron@ahead.org: "Re: ARIA and Label tags both for Error Messages"
- View all messages in this Thread
Do you mean you would include the error information within the label tag? (Obviously you wouldn't to drop them completely.)
I agree with Yucca that this doesn't seem very semantic although I think the case could be made that it's not forbidden. W3C spec says: "The LABEL element may be used to attach information to controls." I think that gives license to include error information within <label> (after all, it's commonly used to provide formatting info and required status after all.) I also don't think it's inappropriate to use aria-describedby in this situation. But I would not use both methods.
- Next message: ron@ahead.org: "Re: ARIA and Label tags both for Error Messages"
- Previous message: ron@ahead.org: "Re: ARIA and Label tags both for Error Messages"
- Next message in Thread: ron@ahead.org: "Re: ARIA and Label tags both for Error Messages"
- Previous message in Thread: ron@ahead.org: "Re: ARIA and Label tags both for Error Messages"
- View all messages in this Thread