:contains() on child elements



  • Avatar
    Doug McDaniel

    Hey Shane - when you say you're not seeing clicks on the feature, how long are you giving Pendo to surface that data? 

    Based on my knowledge of HTML and Pendo tagging, what you're doing is correct and should be sufficient

    Comment actions Permalink
  • Avatar
    Shane Gryzko

    Thanks for the quick comment, Doug McDaniel! I tried some clicks yesterday that still haven't appeared in Pendo. I also tried debugging using Raw Events, as described in another Community post, but I can't see the child element that contains the actual button label. So I don't think processing time is the problem.

    However, I think I may have found my problem: while the button itself is 36px by 36px, its label span is 1px by 1px and isn't actually visible on screen (it's was added for accessibility so screenreader users could understand it). 

    So clicks on the button don't register as clicks on the span. And Pendo doesn't know the label of the button that was clicked unless that single-pixel span is clicked exactly.

    I'll test this theory then post an update.

    Comment actions Permalink

Please sign in to leave a comment.