I have couple of <th> elements within a <thead> element. The first one or one of them is an empty th used as placeholder and does not contain any text.
Wave tool gives out an error that th cannot be empty and suggests I change to <td>.
Now if I have a <td> within a <thead> it solves the issue and passes html validation too.
Is there any reason, I should not be having a <td> within <thead>
Is td allowed inside thead?
2.2k Views Asked by wallop At
1
There are 1 best solutions below
Related Questions in HTML
- How to store a date/time in sqlite (or something similar to a date)
- How to use custom font during html to pdf conversion?
- Storing the preferred font-size in localStorage
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- Is there any way to glow this bulb image like a real light bulb
- With non-graphical maps in Leaflet, zoomDelta doesn't work
- What can I do to improve my coding on both html and css
- Uncaught TypeError: google.maps.LatLng is not a constructor at init (script.js:7:13)
- Bootstrap modal not showing at the desired position on a web page when the screen size is smaller
- Displaying a Movie List on a Website Using Jinja2 and Bootstrap
- How to redirect to thank you page after submitting a Google form embedded into a Google Site?
- Storing selected language in localStorage
- Fences (parenthesis, braces) in HTML and MathML
- Understanding Scroll Anchoring Behavoir
Related Questions in HTML-TABLE
- Add interactive vertical scale within <td> elements?
- Can we achieve z-index like functionality without using z-index for html email template?
- Remove specific border inside a table
- Woocommerce Custom Variations html table only showing columns with values
- Material React Table dragging on mobile
- Paginator changes index of datasource
- How to customize Element Plus el-table
- Is there a way to display table columns as rows?
- Dispatch metadata from WordPress DB query into a table with 4 columns
- Is there any npm package that can show json schema in table?
- Can I make a td rowspan just by using css?
- Ant design Table didnt hide when overflow:hidden on mobile
- Why my data is not arranged in a single table
- Is there a way to fix Undefined data in table cells?
- Using Jquery, replace specific row with specific row with using up and down button in table
Related Questions in WCAG2.0
- How do I make an "add to list" pattern accessible for assistive technology users?
- WCAG 1.4.4. Resize text - is it a failure to ellipsize and provide an accessible tooltip?
- WCAG Accessibility - require at least one entry from a fieldset
- Can transparent text technically be WCAG compliant if an opaque image of the text is in the same location?
- The case of long labels
- Language of parts for image alt text
- How to prevent screen readers from reading url after redirect?
- No dialog role is announced by JAWS screen reader when dialog is appear in the screen
- A11y correct standard to set focus, when modal is on complete step
- Calculating a text color based off of a background (not just black or white)
- Which all attributes shoud be added to make a button that opens a menu of actions to make it accesible to assistive technology
- WCAG 2.0: Delay scrolling causes issues with SR Utility Menu reading headings
- Accessibility for draggable image
- Keeping Focus on Bootstrap Modal While Tabbing
- Passing a WCAG 2.0 (Level AA) test for a website
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
From HTML view:
<td>is allowed inside a<thead>. Permitted content of a<thead>are zero or more<tr>elements. In a<tr>element you can put a<td>and/or<th>element. It doesn’t matter.From WCAG view:
A table can not have any empty table headers. This can be really confusing for screen reader users. There is one special case: Layout tables. Tables which are only used for "layouting", can have empty
<td>'s as "column header". But if i understand your case correctly, you have some other regular table content, so you must add a column header for every column.So in your case it is not ok to have an empty
<td>as column header.