W3C home > Mailing lists > Public > public-html@w3.org > April 2010

Re: Change Proposals toward Issue-9: "how accessibility works for <video> is unclear"

From: Joe D Williams <joedwil@earthlink.net>
Date: Mon, 12 Apr 2010 05:34:13 -0700
Message-ID: <25E25CDBCDB54A6088A5E39E58EBF801@joe1446a4150a8>
To: "Silvia Pfeiffer" <silviapfeiffer1@gmail.com>, "Anne van Kesteren" <annevk@opera.com>
Cc: "Sean Hayes" <Sean.Hayes@microsoft.com>, "public-html" <public-html@w3.org>
Anne wrote

> On Mon, 12 Apr 2010 14:15:56 +0200, Joe D Williams
> <joedwil@earthlink.net>  wrote:
>>>> Anne wrote > Elements using name="" are found using
>>>> getElementsByName()  which does not
>>>> look at whether name is used on an element where it is allowed or
>>>> not.
>>>>
>>>> Thanks, getElementsByName() has nothing to do with attributes
>>>> named  @name. That interface deals with element names, not
>>>> atributte name.
>>>
>>> That is getElementsByTagName(), not getElementsByName().
>>
>> OK, same comment applies. Nothing to do with attribute name or any
>> use  of @name, but deals with tag (element) name.
>
> No it doesn't. getElementsByName(name) finds elements that have a
> name=""  attribute whose value is equal to name.

OK, I am corrected. The method should have been named
getElementsWithAttributeNamedName(name);
getElementsByTagName(Name) refers to the elements named Name.

Thanks and Best Regards,
Joe

>
>
> -- 
> Anne van Kesteren
> http://annevankesteren.nl/
Received on Monday, 12 April 2010 12:34:55 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:16 UTC