diff --git a/lightrag_webui/src/components/graph/PropertiesView.tsx b/lightrag_webui/src/components/graph/PropertiesView.tsx index 627049ea..3aa248de 100644 --- a/lightrag_webui/src/components/graph/PropertiesView.tsx +++ b/lightrag_webui/src/components/graph/PropertiesView.tsx @@ -184,9 +184,11 @@ const PropertyRow = ({ return translation === translationKey ? name : translation } + // Since Text component uses a label internally, we'll use a span here instead of a label + // to avoid nesting labels which is not recommended for accessibility return (
- : + {getPropertyNameTranslation(name)}: { return (
- +

{t('graphPanel.propertiesView.node.title')}

- +

{t('graphPanel.propertiesView.node.properties')}

{Object.keys(node.properties) .sort() @@ -256,9 +258,9 @@ const NodePropertiesView = ({ node }: { node: NodeType }) => {
{node.relationships.length > 0 && ( <> -