This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26419 - Allow browser and the rendered application to pass on information available within page elements
Summary: Allow browser and the rendered application to pass on information available w...
Status: RESOLVED WONTFIX
Alias: None
Product: HTML.next
Classification: Unclassified
Component: default (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-23 18:44 UTC by Devarshi Pant
Modified: 2016-05-05 15:01 UTC (History)
3 users (show)

See Also:


Attachments

Description Devarshi Pant 2014-07-23 18:44:05 UTC
Idea is to allow browser and the rendered application to pass on information available within page elements.

For example - 

<div>
<H1 setvfocus = "true 00:02:00">This is read every 2 minutes</H1>
</div>

The aforementioned code may be flawed, but still will give this idea a shot and hope I am understood.

The reason for allowing this natively within HTML 5 can be helpful as:

1. While the screen reader is voicing stuff at the bottom of the page, every two minutes the virtual focus would read the <H1> heading.

2. We don’t need to set any politeness levels like we do in aria.

3. Simplistic and straightforward to implement.

4. Only issue is whether this is something that can be implemented by API.

The above example can be extended to help keyboard only users as well, especially when focus needs to be set on a text block or a page element.

Something like -
<div>
<H1 setvfocus = "false 00:00:00">Receives keyboard focus immediately</H1>
</div>
would set focus on the heading block instantly, which can be helpful when users activate a link whose target points to a resource on the same page, or a new window / tab.

-Devarshi
Comment 1 Charles McCathieNevile 2016-05-05 15:01:42 UTC
If this is a request for a generic ability to include information as a private-use attribute there is the data-* attribute space that can be used.

To the extent that this bug constitutes a request for a new feature of HTML, please incubate it first. 

The current guidelines [1], rather than track such requests as bugs or issues, please create a proposal outlining the desired behavior, or at least a sketch of what is wanted (much of which is probably contained in this bug), and start the discussion/proposal in the WICG [2]. As your idea gains interest and momentum, it may be brought back into HTML through the Intent to Migrate process [3].

[1] https://github.com/w3c/html#contributing-to-this-repository
[2] https://www.w3.org/community/wicg/
[3] https://wicg.github.io/admin/intent-to-migrate.html