title: Cross-Browser: Different behaviors for disabled input fields (the text can/can't be copied)
body: <p>I have a input html field that is disabled. In some browsers (Chrome, Edge, Internet Explorer and Opera) is possible to select and copy the text but, at least, in Firefox it is not possible.</p>
  
  <p><em>You can test it by executing the following code in different browsers:</em></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;input type="text" disabled value="is disable"&gt;
  &lt;input type="text" readonly value="is readonly"&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I read in <a href="https://stackoverflow.com/questions/7730695/whats-the-difference-between-disabled-disabled-and-readonly-readonly-for-ht/7730719#7730719">here</a> that <em>disabled fields can be focus</em>, <a href="https://www.w3schools.com/tags/att_input_disabled.asp" rel="nofollow noreferrer">here</a> that <em>A disabled input element is unusable and un-clickable</em> and in <a href="https://www.w3schools.com/tags/att_input_readonly.asp" rel="nofollow noreferrer">here</a> that <em>A read-only input field cannot be modified (however, a user can tab to it, highlight it, and copy the text from it)</em>.</p>
  
  <p>I didn't find anything saying that the text from disabled inputs can't be copied.</p>
  
  <p>There is standard behavior and some browsers are not respecting it or can the browsers choose if the text from a disabled input can or can't be copied?</p>
  
  <p>And there is a solution for allowing, in all browsers, the text from a disabled input field to be copied?</p>
  
  <p><em>Note: My application is implemented using Angular/TypeScript languages.</em></p>
  
  <hr>
  
  <p>It seams that the only browser that has a distinct behavior is firefox. I opened an issue in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1548783" rel="nofollow noreferrer">here</a> trying to understand if is a design option or if is a bug. I'm waiting  now for an answer. </p>