title: Hiding content from screen-readers - and related questions
body: <p><em>Intro:</em><br>
  I'm coding a single-page app. It's a sort of e-book reader and I want to optimize screen reader experience.</p>
  
  <p>For general performance reasons (load times, HTTP requests) all of the functional components of the app are always present in the DOM, visibility managed by CSS. Only the actual content is dynamically loaded.</p>
  
  <p>That means there's a lot of stuff present that is not needed all the time, e.g. the login/register pages.<br>Sighted users won't know, but screen reader users could be annoyed.</p>
  
  <p>There's also things that I figure shouldn't matter to screen reader users, like a bunch of visual options (font size, colors...).</p>
  
  <p><br><em>What I intend:</em><br>
  I want to hide certain sections by applying <code>aria-hidden="true"</code>.
  <br>I want to dynamically apply that to elements which are not currently functional, like the register page for a logged in user.
  <br>Also, I want to generally hide certain "presentational" sections, like visual options.</p>
  
  <p><br><em>Questions:</em><br>
  Is that good practice?<br>
  Are there drawbacks?<br>
  Is it necessary?<br>
  Are there other/better ways of telling sr users that elements are of no use to them?<br></p>
  
  <p>and, last no least,<br>
  <strong>Are there good ways of directing the attention of sr users to certain elements?</strong></p>
  
  <p>-<br>
  p.s. I have already structured the DOM sensibly, like</p>
  
  <pre><code>&lt;body&gt;
      &lt;main role="main"&gt;&lt;/main&gt;
      &lt;nav role="navigation"&gt;
          &lt;button&gt;Next Page&lt;/button&gt;
          &lt;button&gt;Previous Page&lt;/button&gt;
          ...
      &lt;/nav&gt;
      &lt;menu role="menu"&gt;
          &lt;ul&gt;
              &lt;li&gt;&lt;button role="menuitem"&gt;Important Task&lt;/button&gt;&lt;/li&gt;
              ...
              &lt;li&gt;&lt;button role="menuitem"&gt;Least Worthy Task&lt;/button&gt;&lt;/li&gt;
          &lt;/ul&gt;
      &lt;/menu&gt;
      &lt;div class="options"&gt;
          ...
      &lt;/div&gt;
  </code></pre>
  
  <p>to make sure that the controls should be tab-focused in descending order of use frequency.</p>