Results 1 to 6 of 6

Thread: span tag in the aria-label for the tab is behaving oddly

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-18909 in 6.0.1.
  1. #1
    Sencha User
    Join Date
    Jul 2015
    Posts
    14
    Vote Rating
    1
      0  

    Default span tag in the aria-label for the tab is behaving oddly

    Hello All,
    Whenever I add a span to the title of a component and add the same to the tabpanel, following is the html output which I am getting:

    Code:
    <div class="x-panel x-tabpanel-child x-panel-default x-closable x-panel-closable x-panel-default-closable" role="tabpanel" aria-hidden="false" aria-disabled="false" aria-label="<span style=" color:red;font-weight:bold"="" data-qtip="Readonly" id="ext-element-36" aria-expanded="true" style="margin: 0px; width: 1009px; height: 359px;">R xxxxxxx" id="editor-xxxxxxxxxxxx.xxxxxxxxx"&gt;
    Otherwise, the title is rendered properly.
    What may be the reason for it?

  2. #2
    Sencha - Ext JS Dev Team nohuhu's Avatar
    Join Date
    Jun 2011
    Location
    Redwood coast
    Posts
    402
    Vote Rating
    79
      0  

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha User
    Join Date
    Jul 2015
    Posts
    14
    Vote Rating
    1
      0  

    Default

    Is there any workaround for this ?

  4. #4
    Sencha - Ext JS Dev Team nohuhu's Avatar
    Join Date
    Jun 2011
    Location
    Redwood coast
    Posts
    402
    Vote Rating
    79
      0  

    Default

    Don't place HTML markup in tab title.
    Regards,
    Alex.

  5. #5
    Sencha User
    Join Date
    Jul 2015
    Posts
    14
    Vote Rating
    1
      0  

    Default

    But, this is required in our application. Is there a way to add it but still avoid this issue?

  6. #6
    Sencha - Ext JS Dev Team nohuhu's Avatar
    Join Date
    Jun 2011
    Location
    Redwood coast
    Posts
    402
    Vote Rating
    79
      1  

    Default

    The fix is merged for 6.0.1 and should be available in the nightlies tomorrow.
    Regards,
    Alex.

Similar Threads

  1. How to set aria-label for button and icon
    By Periyasamy A in forum Ext: Q&A
    Replies: 0
    Last Post: 7 Jul 2012, 12:00 PM
  2. Grid with col span and row span
    By Efrat Arvats in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 15 Nov 2010, 1:25 AM
  3. My event worked oddly
    By zhanghaocol in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 23 Mar 2008, 5:12 AM

Posting Permissions

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