You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>The overarching goal is to give developers a way to provide user agents with sufficient information about each image, and applicable media, so that the user agent can select the most appropriate one for a dynamically changing browsing situations. This includes, but is not limited to, different screen pixel width/height, pixel densities, environmental lighting conditions, and potentially even situations where the network bandwith changes dymamically. By providing a graded set of image sources, UA discretion could similarly apply to situations where the network bandwith changes dymamically. Based on user settings and network latency calculated by the user agent, the UA may have the option of selecting lower density image sources.</p>
238
-
<p>In addition, this proposal is being worked on with the following goals in mind:</p>
239
-
<ul>
240
-
<li>Respond to different screen pixel width/height.</li>
241
-
<li>Respond to different screen pixel densities.</li>
242
-
<li>Allows developers to provide user agents with sufficient information about each image source, allowing the user agent to select the most appropriate one for dynamically changing browsing situations. This includes but is not limited to: differing screen/window widths and heights, pixel densities, environmental lighting conditions, and any combination of contextual cues provided by media queries.</li>
243
-
<li>Provides a graded set of image sources, allowing UA discretion to potentially be applied to situations where network bandwith is limited or variable. Based on user settings and network latency calculated by the user agent, the UA may have the option of selecting lower density image sources to conserve bandwidth.</li>
244
-
<li>Will degrade gracefully on older user agents.</li>
245
-
<li>Can be polyfilled.</li>
246
-
<li>Retains, at a minimum, the same level of accessibility as current <code>img</code> element. The resolution of <ahref="http://www.w3.org/html/wg/tracker/issues/30">ISSUE-30: Should HTML 5 include a longdesc attribute for images</a> will determine the method by which authors can provide semantically rich markup as accessible text. </li>
247
-
<li>Preserves separation of content markup and styling.</li>
248
-
<li>Provides a consistent and predictable pattern for delivering alternate media sources based on client context.</li>
249
-
<li>Provides a purely client-side solution which may include JavaScript, but doesn’t require it.</li>
250
-
<li>Supports succinct but understandable mark-up.</li>
251
-
<li>Don't repeat yourself: If the same image is used multiple times on a single page, it would be useful to define the resource selection in a single place in the document and have this affect all instances of the image</li>
0 commit comments