Altinn / Altinn/app-frontend-react

Possibility to configure size of labels

Open
#1,549 2 comments 0 reactions 0 assignees View on GitHub
kind/feature-request status/draft
Dominant language
TypeScript
Stars
21
Forks
33
Avg merge
6d 23h
Merged PRs (30d)
3

Description

### Description

It should be possible to configure the size of a label so that it matches its intended level in the document tree.

### Additional Information

The currently used workaround for this is to use customized formatting inside the text resource. This is prone to DOM and accessibility errors, and it requires users to manually format the text the same way in all languages.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by locating the label-rendering component and the existing configuration or styling conventions; determine how label levels are represented and how localized text is rendered. Done means label size can be configured by intended document level without per-language manual formatting or introducing DOM and accessibility problems.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.