oud any time a message is shown,
regardless of the user&#39;s focus location.</p>
<h3 id="example">Example</h3>
<pre><code class="lang-html">&lt;div ng-messages=&quot;myForm.myName.$error&quot;&gt;
  &lt;div ng-message=&quot;required&quot;&gt;You did not enter a field&lt;/div&gt;
  &lt;div ng-message=&quot;maxlength&quot;&gt;Your field is too long&lt;/div&gt;
&lt;/div&gt;
</code></pre>
<p>Becomes:</p>
<pre><code class="lang-html">&lt;div ng-messages=&quot;myForm.myName.$error&quot; aria-live=&quot;assertive