I am trying to set xxes in the rows under the first 2 columns in a table. I can set the xes fine in the rows under the first 2 columns but because some of the <td> in the rows that I want to set the xes got rowspan and colspan it end up setting xes in others coluns of the table. I am not being able to track the cells in those rows so I can set the xes only in the right rows under the right columns. the main goal is to set an accessibility attribute for each of those cells I need to somehow keep track of the rowspan's to know the right cells to check.




Does anyone knows how or did something similar?

Thanks for any help.