How does scope attribute works in HTML table?
Hello, I was reading a bit about the
I don't understand, for the first cell of a row, we associate it with attribute
Can someone explain how does it work please, like what the screen reader does? (I don't really understand where to use scope=row or scope=col, just I know scope=col is for header cells)
scope attribute in HTML table. From what I've understood, it "associates" a table header to a column, like:I don't understand, for the first cell of a row, we associate it with attribute
row but we use th instead of td.Can someone explain how does it work please, like what the screen reader does? (I don't really understand where to use scope=row or scope=col, just I know scope=col is for header cells)
