File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -844,6 +844,15 @@ const TestContent: React.FunctionComponent = () => {
844844 variant = "secondary"
845845 onClick = { ( ) => {
846846 console . log ( '🔍 Running semantic validation...' ) ;
847+ // Debug: Check what elements have data-semantic-name
848+ const allSemanticElements = document . querySelectorAll ( '[data-semantic-name]' ) ;
849+ console . log ( `📊 Found ${ allSemanticElements . length } elements with data-semantic-name attribute` ) ;
850+ allSemanticElements . forEach ( ( el , i ) => {
851+ const name = el . getAttribute ( 'data-semantic-name' ) ;
852+ const tag = el . tagName ;
853+ console . log ( ` ${ i + 1 } . <${ tag } > with data-semantic-name="${ name } "` ) ;
854+ } ) ;
855+
847856 const result = runSemanticValidation ( true ) ;
848857 if ( result . warnings . length > 0 ) {
849858 console . log ( `⚠️ Found ${ result . warnings . length } elements that should use semantic-ui-layer components` ) ;
You can’t perform that action at this time.
0 commit comments