Correct Norwegian lang-tag in meeting registration, autocorrect and fieldtype

%3CLINGO-SUB%20id%3D%22lingo-sub-3005907%22%20slang%3D%22en-US%22%3ECorrect%20Norwegian%20lang-tag%20in%20meeting%20registration%2C%20autocorrect%20and%20fieldtype%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3005907%22%20slang%3D%22en-US%22%3E%3CP%3EOn%20Microsoft%20Teams%20meeting%20registration%20pages%20the%20lang%20code%20for%20Norwegian%20is%20%22nb-no%22%20instead%20of%20the%20HTML%20standard%20%22no%22%20for%20Norwegian.%26nbsp%3B%3C%2FP%3E%3CP%3EVoiceOver%20on%20my%20Mac%20had%20some%20trouble%20identifying%20the%20language%2C%20switching%20the%20lang%20code%20to%20%22no%22%20instead%20of%20%22nb-no%22%20fixed%20the%20issue%20in%20my%20voiceover%20testing.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%20from%20edge%20devtools%20showing%20lang%20code%20set%20as%20nb-no%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F329452i1E55357AAD92B8FC%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22AndreasJacobsen_0-1637848162471.png%22%20alt%3D%22Screenshot%20from%20edge%20devtools%20showing%20lang%20code%20set%20as%20nb-no%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EScreenshot%20from%20edge%20devtools%20showing%20lang%20code%20set%20as%20nb-no%3C%2FSPAN%3E%3C%2FSPAN%3E%3CBR%20%2F%3EProposed%20change%3A%26nbsp%3B%3CBR%20%2F%3EChange%20from%20nb-no%20to%20no%20anywhere%20Norwegian%20lang-code%20is%20set.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EHow%20to%20reproduce%3A%26nbsp%3B%3CBR%20%2F%3ECreate%20a%20Norwegian%20meeting%20with%20a%20registration%20form%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Fschedule-a-teams-meeting-with-registration-435b2b67-c1bd-411e-9be6-9ed1b4a9f04a%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESchedule%20a%20Teams%20meeting%20with%20registration%20(microsoft.com)%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20are%20three%20Norwegian%20lang%20codes%3A%20no%2C%20nb%2C%20and%20nn.%20no%20encompasses%20all%20of%20Norwegian.%20nb%20is%20for%20Norwegian%20bokm%C3%A5l%20and%20nn%20is%20for%20Norwegian%20nynorsk.%20These%20forms%20use%20different%20spellings%2C%20so%20just%20using%20no%20is%20the%20safest%20as%20it%20supports%20both%20nb%20and%20no.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20also%20noted%20that%20the%20email%20field%20lacks%20the%20correct%20type%20and%20that%20all%20the%20fields%20lacked%20autocomplete.%20Here%20shown%20with%20the%20e-post%20field.%20e-post%20means%20email%20in%20Norwegian.%20The%20field%20has%20type%3D%22text%22%20instead%20of%20the%20type%20the%20HTML%20tells%20us%20to%20use%2C%20type%3D%22email%22%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22screenshot%20of%20email%20form%20field%2C%20the%20field%20is%20not%20coded%20as%20a%20form%20field%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F329454i9CD94453E137DBD3%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22AndreasJacobsen_1-1637848345918.png%22%20alt%3D%22screenshot%20of%20email%20form%20field%2C%20the%20field%20is%20not%20coded%20as%20a%20form%20field%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3Escreenshot%20of%20email%20form%20field%2C%20the%20field%20is%20not%20coded%20as%20a%20form%20field%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22screenshot%20from%20edge%20devtools%20showing%20email%20field%20coded%20with%20text%20type%20instead%20of%20email%20type%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F329460i4B0C39770A54B26A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22AndreasJacobsen_1-1637848771351.png%22%20alt%3D%22screenshot%20from%20edge%20devtools%20showing%20email%20field%20coded%20with%20text%20type%20instead%20of%20email%20type%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3Escreenshot%20from%20edge%20devtools%20showing%20email%20field%20coded%20with%20text%20type%20instead%20of%20email%20type%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEven%20though%20the%20fields%20contain%20information%20about%20yourself%20and%20are%20items%20that%20are%20regularly%20stored%20in%20autofill-tools%20from%20browsers%2C%20password%20managers%20and%20the%20like%20none%20of%20the%20fields%20have%20the%20approriate%20auto%20complete%20attribute.%26nbsp%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EAdding%20these%20attributes%20and%20using%20the%20correct%20form%20types%20will%20lett%20people%20automatically%20fill%20these%20fields%20out.%20And%20who%20wants%20to%20manually%20fill%20out%20forms%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESee%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdeveloper.mozilla.org%2Fen-US%2Fdocs%2FWeb%2FHTML%2FAttributes%2Fautocomplete%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EThe%20HTML%20autocomplete%20attribute%20-%20HTML%3A%20HyperText%20Markup%20Language%20%7C%20MDN%20(mozilla.org)%3C%2FA%3E%26nbsp%3Bfor%20autocomplete%20tags.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3005907%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAccessibility%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

On Microsoft Teams meeting registration pages the lang code for Norwegian is "nb-no" instead of the HTML standard "no" for Norwegian. 

VoiceOver on my Mac had some trouble identifying the language, switching the lang code to "no" instead of "nb-no" fixed the issue in my voiceover testing.

Screenshot from edge devtools showing lang code set as nb-noScreenshot from edge devtools showing lang code set as nb-no
Proposed change: 
Change from nb-no to no anywhere Norwegian lang-code is set. 

How to reproduce: 
Create a Norwegian meeting with a registration form 

Schedule a Teams meeting with registration (microsoft.com)

 

There are three Norwegian lang codes: no, nb, and nn. no encompasses all of Norwegian. nb is for Norwegian bokmål and nn is for Norwegian nynorsk. These forms use different spellings, so just using no is the safest as it supports both nb and nn. 

 

We also noted that the email field lacks the correct type and that all the fields lacked autocomplete. Here shown with the e-post field. e-post means email in Norwegian. The field has type="text" instead of the type the HTML tells us to use, type="email"

screenshot of email form field, the field is not coded as a form fieldscreenshot of email form field, the field is not coded as a form field

screenshot from edge devtools showing email field coded with text type instead of email typescreenshot from edge devtools showing email field coded with text type instead of email type

 

 

Even though the fields contain information about yourself and are items that are regularly stored in autofill-tools from browsers, password managers and the like none of the fields have the approriate auto complete attribute. 


Adding these attributes and using the correct form types will lett people automatically fill these fields out. And who wants to manually fill out forms? 

 

See The HTML autocomplete attribute - HTML: HyperText Markup Language | MDN (mozilla.org) for autocomplete tags. 

 

 

0 Replies