Edit ISSUE-748: Step 2F: The algorithm does not seem to handle nesting like it thinks it does

Nickname:

Title:

State:

Product:

Raised By:

Description:

Add notes (no markup allowed, URIs get automatically hyperlinked):

No related emails.

Related notes:

Off the top of my head, the HTML elements <br>, <img>, and <input> are content-less, and there may likely others. In SGML-speak, they do not have a content model. As such, one cannot compute a name-from:contents with these elements.

Joseph Scheuhammer, 17 Nov 2015, 19:34:58

I am looking at this and the issue not being addressed is native host language elements that support descendant elements, like <em>.

I would recommend modifying this from:

Otherwise, if the current node's role allows name from content, or if the current node contains content, or if the current node is referenced by aria-labelledby, aria-describedby, or is a native host language text alternative element (e.g. label in HTML):

to:
Otherwise, if the current node's role allows name from content, or if the current node is referenced by aria-labelledby, aria-describedby, or is a native host language text alternative element (e.g. label in HTML):

Richard Schwerdtfeger, 12 Jul 2017, 13:39:51

I am looking at this and the issue not being addressed is native host language elements that support descendant elements, like <em>.

I would recommend modifying this from:

Otherwise, if the current node's role allows name from content, or if the current node contains content, or if the current node is referenced by aria-labelledby, aria-describedby, or is a native host language text alternative element (e.g. label in HTML):

to:
Otherwise, if the current node's role allows name from content, or if the current node has no defined role and contains content, or if the current node is referenced by aria-labelledby, aria-describedby, or is a native host language text alternative element (e.g. label in HTML):

Richard Schwerdtfeger, 12 Jul 2017, 13:45:06

Created pull request for changes: https://github.com/w3c/aria/pull/611

Richard Schwerdtfeger, 21 Jul 2017, 12:23:33

added a new step to address embedded <em>s. It was tried and it works. this was done in pull request 611 for issue748. I merged the branch and closed the issue.

Richard Schwerdtfeger, 20 Aug 2017, 13:03:38


Joanmarie Diggs <jdiggs@igalia.com>, James Nurthen <nurthen@adobe.com>, Chairs, Michael Cooper <cooper@w3.org>, Ruoxi Ran <ran@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.326 2018/10/13 17:29:51 vivien Exp $