Results 1 to 3 of 3

Thread: ariaEl is null

  1. #1
    Sencha Premium Member
    Join Date
    Nov 2014
    Madison, WI

    Post ariaEl is null

    I am making a transition from extjs 5.0 to exjs 6.0 and I have into a bit of an issue. I have a tab panel with tabs that have the closable parameter set to true, and whenever I click on the closebox icon in the tab, I get a console error:

    TypeError: me.ariaEl is null ----------------------- ext-all-debug.js(line 221716, col 12)
    ariaDom = me.ariaEl.dom

    This error breaks the app, and I was curious if this issue is a bug or if there is a parameter that I am missing.

    thank you in advance

  2. #2
    Sencha User
    Join Date
    Feb 2013


    Things seem to be working in this test case from the doc examples.

    Are you able to recreate the error in a Fiddle?

  3. #3
    Ext GWT Premium Member lefke123's Avatar
    Join Date
    Dec 2011


    I'm experiencing the same issue on Ext.form.field.File fields, and only on those that I'm disabling and enabling frequently. What I have done is a really dirty workaround (cause I don't care about 1 accessibility issue on the upload field) that will make you want to take a bath and burn your clothes.

    I made an override of Ext.Component on the onDisable and onEnable functions, and added a check like described below.

    My version:
    if (!me.ariaStaticRoles[me.ariaRole] && me.ariaEl.dom !== null) {
        me.ariaEl.dom.setAttribute('aria-disabled', true);
    if (!me.ariaStaticRoles[me.ariaRole]) {
        me.ariaEl.dom.setAttribute('aria-disabled', true);
    That seems to at least override the error, and ignore the ariaEl entirely.
    Don't forget to vote on posts that you find helpful or not, the feedback can help others improve.

Similar Threads

  1. [NOREPRO] ExtJS beta Cannot read property 'ariaEl' of null
    By raphael.franchet in forum Ext JS 6.x Bugs
    Replies: 1
    Last Post: 19 Jun 2015, 7:39 PM
  2. [NOREPRO] IE 10 Only: Setting load mask message to null displays 'null' instead of no text.
    By mjgallag in forum Sencha Touch 2.x: Bugs
    Replies: 4
    Last Post: 1 May 2013, 5:17 PM
  3. Replies: 3
    Last Post: 19 May 2011, 11:14 PM
  4. [B]'null' is null or not an object IE7 / el is null in FireFox in ExtJS[/B]
    By Jigesh Shah in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 20 May 2010, 4:54 PM
  5. 'null' is null or not an object IE7 / el is null in FireFox in ExtJS
    By Jigesh Shah in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 19 May 2010, 5:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts