Skip to content

Allow native markup in shared web primitives - #78

Merged
mapringg merged 1 commit into
developfrom
native-web-primitives
Nov 19, 2026
Merged

mapringg merged 1 commit into
developfrom
native-web-primitives

Conversation

@mapringg

Copy link
Copy Markdown
Owner

Summary

+ Shared image and icon primitives may use a native img.
+ Shared disabled navigation links may keep their role without an href.

Next Image requires dimensions or absolute positioning. Native images let the shared primitives retain intrinsic sizing, observe load and error state, and color a CSS mask. A disabled navigation link keeps its accessible role and exposes no destination.

Evidence

  • Before: The built-in rules rejected these three primitive files.
  • After: The config test accepts the three files and rejects the same markup in page components. All 85 tests pass.

Merge Danger

Door: Two-way
Blast Radius: Lint

@mapringg
mapringg merged commit c7a31f6 into develop Nov 19, 2026
1 check passed
@mapringg
mapringg deleted the native-web-primitives branch November 19, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant