Skip to content

replace role="alert" with role="note"#54363

Closed
orangecms wants to merge 1 commit intokubernetes:mainfrom
orangecms:a11y-role-note
Closed

replace role="alert" with role="note"#54363
orangecms wants to merge 1 commit intokubernetes:mainfrom
orangecms:a11y-role-note

Conversation

@orangecms
Copy link
Copy Markdown
Contributor

The "alert" role is meant for shortlived content, usually for interactive apps. The "note" role, on the other hand, is meant for content that has no suitable semantic element otherwise and is supposed to hint the user on ancillary information.

See:

Description

Issue

Closes: #

The "alert" role is meant for shortlived content, usually for
interactive apps. The "note" role, on the other hand, is meant for
content that has no suitable semantic element otherwise and is
supposed to hint the user on ancillary information.

See:
- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/alert_role
- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/note_role

Signed-off-by: Daniel Maslowski <info@orangecms.org>
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Feb 10, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

Welcome @orangecms!

It looks like this is your first PR to kubernetes/website 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/website has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. area/localization General issues or PRs related to localization labels Feb 10, 2026
@k8s-ci-robot k8s-ci-robot added the language/hi Issues or PRs related to Hindi language label Feb 10, 2026
@k8s-ci-robot k8s-ci-robot requested a review from lmktfy February 10, 2026 07:12
@k8s-ci-robot k8s-ci-robot added language/pt Issues or PRs related to Portuguese language language/ru Issues or PRs related to Russian language sig/docs Categorizes an issue or PR as relevant to SIG Docs. labels Feb 10, 2026
@netlify
Copy link
Copy Markdown

netlify bot commented Feb 10, 2026

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit e3ef834
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-io-main-staging/deploys/698ada33631df50008a27f24
😎 Deploy Preview https://deploy-preview-54363--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@jgrancell
Copy link
Copy Markdown

/LGTM

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

@jgrancell: changing LGTM is restricted to collaborators

Details

In response to this:

/LGTM

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@Caesarsage
Copy link
Copy Markdown
Contributor

Hello @orangecms
Thanks for your contribution. We try to make a PR per language.
Can you update your changes to a single language (say English) and when that is reviewed and approved you can raise for the other languages affected

@orangecms
Copy link
Copy Markdown
Contributor Author

Hello @orangecms
Thanks for your contribution. We try to make a PR per language.
Can you update your changes to a single language (say English) and when that is reviewed and approved you can raise for the other languages affected

Sure, though it doesn't affect the "language" in that sense here, just the HTML semantics.

@lmktfy
Copy link
Copy Markdown
Member

lmktfy commented Feb 12, 2026

SIG Docs recommends updating one language per PR.

We can accept this if each localization team, for each of the languages updated in this PR, agrees to an exception from our usual process, or if a website maintainer overrules their decisions. I like the idea of making this change but (as someone able to overrule localization teams decisions) I can't justify using my position there.

The problem with having multiple localizations covered is that it can take a (very) long time to wait for all of those teams to agree to make an exception. The simple choice: revise this PR to update English; other localizations will follow their processes to pick up the change.

@orangecms
Copy link
Copy Markdown
Contributor Author

SIG Docs recommends updating one language per PR.

Yea that's the thing - no language change here.
It only appears like it due to some rule saying "if in directory ru, it must be a change of the Russian translation" - which is not always the case. See the discussion where a Russian language maintainer mentions this PR as another example of issues with the simplified rule.

We can accept this if each localization team, for each of the languages updated in this PR, agrees to an exception from our usual process, or if a website maintainer overrules their decisions. I like the idea of making this change but (as someone able to overrule localization teams decisions) I can't justify using my position there.

Well, now we have a deadlock - the RU maintainer has merged the split partial PR I filed, and the PT-BR maintainer has blocked the other PR waiting for this PR here. And so we are both locked and in an inconsistent state.

The problem with having multiple localizations covered is that it can take a (very) long time to wait for all of those teams to agree to make an exception. The simple choice: revise this PR to update English; other localizations will follow their processes to pick up the change.

There is no change in "English". One PR has the changes in layouts. Should I close that one and push it here? I'm confused.

@orangecms
Copy link
Copy Markdown
Contributor Author

ok so that part is resolved now:
#54409 (comment)

@orangecms
Copy link
Copy Markdown
Contributor Author

I'm not seeing the discussion reference here, whoops:
#51006 (comment)

Copy link
Copy Markdown
Contributor

@chalin chalin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi. Good point in calling this out @orangecms, but as I mentioned in google/docsy#2554, I think that we need a more nuance approach.

For example in this PR, caution and warning should probably stay as an alert and/or depend on the argument. Or at least a status role.

@orangecms
Copy link
Copy Markdown
Contributor Author

Hi. Good point in calling this out @orangecms, but as I mentioned in google/docsy#2554, I think that we need a more nuance approach.

For example in this PR, caution and warning should probably stay as an alert and/or depend on the argument. Or at least a status role.

The "alert" role is for live content though, things that need immediate attention. The "note" role is a general thing, not restricted to "levels" of admonition/severity; see the respective explanations on MDN I referenced.

@lmktfy
Copy link
Copy Markdown
Member

lmktfy commented Feb 18, 2026

I agree with this, but it ought to change only one localization (English).

You could get an exception made, but that means either asking each localization affected to agree to the exception, or asking SIG Docs to overrule the usual process of checking with affected teams before bypassing their processes.
If this were just 1 commit that only touched English pages and files that aren't locally at all, I would be happy to mark it LGTM.

/area web-development

@k8s-ci-robot k8s-ci-robot added the area/web-development Issues or PRs related to the kubernetes.io's infrastructure, design, or build processes label Feb 18, 2026
@SayakMukhopadhyay
Copy link
Copy Markdown
Member

I agree with this, but it ought to change only one localization (English).

You could get an exception made, but that means either asking each localization affected to agree to the exception, or asking SIG Docs to overrule the usual process of checking with affected teams before bypassing their processes. If this were just 1 commit that only touched English pages and files that aren't locally at all, I would be happy to mark it LGTM.

/area web-development

I think this is a good use case for this discussion #51006. The changes to the localised pages only affect the html and not the content itself and that too is minimal.

@stormqueen1990
Copy link
Copy Markdown
Member

Leaving my (proactive) approval here for the Brazilian Portuguese portion in case the final decision is to merge as-is
/approve

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: stormqueen1990
Once this PR has been reviewed and has the lgtm label, please assign nate-double-u for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@lmktfy
Copy link
Copy Markdown
Member

lmktfy commented Mar 5, 2026

I'll highlight this to SIG Docs localization folks to sound out the appetite for an exception.

@shurup
Copy link
Copy Markdown
Member

shurup commented Mar 20, 2026

LGTM from the Russian localisation team.

@seokho-son
Copy link
Copy Markdown
Member

PTAL @kubernetes/sig-docs-hi-reviews :)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM from the Hindi localisation team.

@orangecms
Copy link
Copy Markdown
Contributor Author

So the current state is inconsistent, but also not really blocked:

As per request, I had split up the PR.
Two of the new PRs were merged.
PT-BR put theirs on hold and LGTMed this one.
HI LGTMed theirs and this one.

What can I do from my side to get this finished?

@lmktfy
Copy link
Copy Markdown
Member

lmktfy commented Apr 2, 2026

So the current state is inconsistent, but also not really blocked:

As per request, I had split up the PR. Two of the new PRs were merged. PT-BR put theirs on hold and LGTMed this one. HI LGTMed theirs and this one.

Ah, if those other PRs have merged, we can use this as evidence to not ask for further actual checking.

I have done that. So, I think we can soon close this as a success, albeit via a route that was more complicated than we'd have liked.

@lmktfy
Copy link
Copy Markdown
Member

lmktfy commented Apr 2, 2026

/close

Implemented via the split-out PRs. Thanks for working on this, @orangecms.

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

@lmktfy: Closed this PR.

Details

In response to this:

/close

Implemented via the split-out PRs. Thanks for working on this, @orangecms.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@orangecms orangecms deleted the a11y-role-note branch April 2, 2026 17:56
@orangecms
Copy link
Copy Markdown
Contributor Author

Thanks, I'm glad this worked out eventually. 🙂🧡

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/localization General issues or PRs related to localization area/web-development Issues or PRs related to the kubernetes.io's infrastructure, design, or build processes cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/hi Issues or PRs related to Hindi language language/pt Issues or PRs related to Portuguese language language/ru Issues or PRs related to Russian language sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.