Skip to content

a11y: language switcher should mark a missing translation as unavailable #356

Description

@TheMeinerLP

Since i18n.experimental.strictSeo (#351), the switcher entry for a locale without a translation points to # instead of a 404. For example, English on /de/blog/wer-moechte-plugins-adoptieren. The entry still looks and behaves like a working link.

It should be visibly disabled and announced as such (aria-disabled), or hidden, in layers/navigation/components/LanguageSelector.vue.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions