If user writes for instead of htmlFor, warning is shown. I suppose autofocus instead of autoFocus should warn too.

ReactTestUtils = require('ReactTestUtils');
    });
    it('warns on invalid nesting', () => {
      spyOn(console, 'error');
      ReactTestUtils.renderIntoDocument(<div><tr /><tr /></div>);
      expect(console.error.calls.count()).toBe(1);
      expect(console.error.calls.argsFor(0)[0]).toBe(
        'Warning: validateDOMNesting(...): <tr> cannot appear as a child of ' +
        '<div>. See div > tr.'
      );
    });
    it('warns on invalid nesting at root', () => {
      spyOn(console, 'error');
      var p = document.createElement('p');
      ReactDOM.render(<span><p /></span>, p);
      expect(console.error.calls.count()).toBe(1);
      expect(console.error.calls.argsFor(0)[0]).toBe(
        'Warning: validateDOMNesting(...): <p> cannot appear as a descendant ' +
        'of <p>. See p > ... > p.'
      );
    });
    it('warns nicely for table rows', () => {
      spyOn(console, 'error');
      class Row extends React.Component {
        render() {
          return <tr>x</tr>;
        }
      }
      class Foo extends React.Component {
        render() {