Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Taking the answer from <a href="https://stackoverflow.com/a/18631501/431880">@AlastairC</a>, and the comments below it. I've taken this a bit further now and am going with this as my solution going forward:</p> <hr> <h1>My go-forward solution</h1> <p>I found that just reading out the first heading wasn't really that useful. Especially if the last page you were on was a loading sequence. You can hear that there something new has been focused, but it's certainly not clear that this forms the part of a whole now page.</p> <h3>Add some useful, <em>descriptive</em> text to the page</h3> <p>As such I now have a single paragraph at the top of my page layout template. This includes a screen-reader friendly message, along with a very rough overview of what the page.</p> <pre><code>&lt;p class="screenreader-summary" tabindex="-1"&gt; The &lt;strong&gt;Dashboard&lt;/strong&gt; page is now on-screen. It contains several widgets for summarizing your data. &lt;/p&gt; </code></pre> <p>Note that the <code>tabindex</code> value allows us to focus this element with JavaScript. <em>You might not want to use a <code>p</code> element for this, you can use anything you like really.</em></p> <h3>Hide it off-screen (optional, only required if it would break your design/readability)</h3> <p>This is then coupled with CSS to move this element off-screen:</p> <pre><code>.screenreader-summary { position: absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden; outline: none; /* Important, don't show an outline on-focus */ } </code></pre> <h3>Focus this element, when a new page is shown on-screen</h3> <p>Finally, in the JavaScript code that shows your page on screen (e.g. in MarionetteJS using <code>onShow</code> or the <code>show</code> event):</p> <pre><code>$yourViewEl.find('.screenreader-summary').focus(); </code></pre> <h1>The result</h1> <p>I'm a sighted person, so take what I say with a pinch of salt - however I found that reading out a short description is <em>so</em> much more useful.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload